P4 to Git Change 1211277 by gandryey@gera-w8 on 2015/11/13 18:35:50

SWDEV-53069 - Forum[170333]: clSetUserEventStatus returning bad CL_SUCCESS
	- Return error if setStatus wasn't successful

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_event.cpp#9 edit


[ROCm/clr commit: cbdb9fe070]
This commit is contained in:
foreman
2015-11-13 19:41:35 -05:00
förälder cc8acc2bcf
incheckning 2274fb951e
@@ -290,7 +290,9 @@ RUNTIME_ENTRY(cl_int, clSetUserEventStatus, (
return CL_INVALID_VALUE;
}
as_amd(event)->setStatus(execution_status);
if (!as_amd(event)->setStatus(execution_status)) {
return CL_INVALID_OPERATION;
}
return CL_SUCCESS;
}
RUNTIME_EXIT