SWDEV-362371 - Uninitialized stream error checks
Change-Id: I7e04ef46f0cf2b0c45caf42d5b2ee31cb68e93eb
[ROCm/clr commit: bded3d8d1f]
Esse commit está contido em:
commit de
Ajay GunaShekar
pai
89321974f3
commit
25ff252d73
@@ -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);
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário