SWDEV-465220 - Validate stream on which Kernel is planned to be launched.

Change-Id: I34c679bd888c275584c11ad3e8346d4d542976f9


[ROCm/clr commit: b0047d690a]
Tá an tiomantas seo le fáil i:
Jaydeep Patel
2024-06-03 11:17:51 +00:00
tiomanta ag Jaydeepkumar Patel
tuismitheoir 2aafd5a30c
tiomantas 82474ca1db
D'athraigh 2 comhad le 4 breiseanna agus 1 scriosta
+1 -1
Féach ar an gComhad
@@ -705,7 +705,7 @@ hipError_t hipExtLaunchKernel(const void* hostFunction, dim3 gridDim, dim3 block
HIP_INIT_API(hipExtLaunchKernel, hostFunction, gridDim, blockDim, args, sharedMemBytes,
stream, startEvent, stopEvent, flags);
if (!hip::isValid(stream) || !hip::isValid(startEvent) || !hip::isValid(stopEvent)) {
if (!hip::isValid(startEvent) || !hip::isValid(stopEvent)) {
HIP_RETURN(hipErrorInvalidValue);
}