SWDEV-362371 - Uninitialized stream error checks

Change-Id: I7e04ef46f0cf2b0c45caf42d5b2ee31cb68e93eb
This commit is contained in:
Satyanvesh Dittakavi
2022-10-18 14:17:49 +00:00
committed by Ajay GunaShekar
parent f3394cf7a5
commit bded3d8d1f
+1 -1
View File
@@ -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);