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

Change-Id: I80c9358e9ad3a2d57fca53e6ff7679f1e3953328
Этот коммит содержится в:
Payam authored and Ajay GunaShekar committed 2022-02-21 16:29:50 -05:00
1 родитель 5dab99ca30
Коммит c0b859641f
1 file changed
+1 -1
+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;