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);