SWDEV-362371 - Uninitialized stream error checks

Change-Id: I7e04ef46f0cf2b0c45caf42d5b2ee31cb68e93eb


[ROCm/clr commit: bded3d8d1f]
Цей коміт міститься в:
Satyanvesh Dittakavi authored and Ajay GunaShekar committed 2022-10-20 21:57:11 -04:00
1 джерело 89321974f3
коміт 25ff252d73
1 file changed
+1 -1
+1 -1
Переглянути файл
@@ -32,7 +32,7 @@ hipError_t ihipStreamOperation(hipStream_t stream, cl_command_type cmdType, void
}
if (!hip::isValid(stream)) {
return hipErrorInvalidValue;
return hipErrorContextIsDestroyed;
}
amd::Memory* memory = getMemoryObject(ptr, offset);