SWDEV-316050, SWDEV-316292 - Graph api matching error with Cuda

Change-Id: I80c9358e9ad3a2d57fca53e6ff7679f1e3953328


[ROCm/clr commit: c0b859641f]
Этот коммит содержится в:
Payam
2022-02-16 04:52:07 -05:00
коммит произвёл Ajay GunaShekar
родитель 47b3aa484e
Коммит 01bd9ba844
+1 -1
Просмотреть файл
@@ -1054,7 +1054,7 @@ inline hipError_t ihipMemcpySymbol_validate(const void* symbol, size_t sizeBytes
if ((offset + sizeBytes) > sym_size) {
LogPrintfError("Trying to access out of bounds, offset: %u sizeBytes: %u sym_size: %u \n",
offset, sizeBytes, sym_size);
HIP_RETURN(hipErrorInvalidDevicePointer);
HIP_RETURN(hipErrorInvalidValue);
}
device_ptr = reinterpret_cast<address>(device_ptr) + offset;