P4 to Git Change 1588556 by skudchad@skudchad_rocm on 2018/08/02 02:04:15

SWDEV-145570 - [HIP] - Release eStop if it not a nullptr.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#13 edit


[ROCm/hip commit: aeaa9b80f4]
This commit is contained in:
foreman
2018-08-02 02:18:57 -04:00
parent 3aabd92279
commit 32427db878
+3
View File
@@ -222,6 +222,9 @@ hipError_t ihipModuleLaunchKernel(hipFunction_t f,
command->enqueue();
if(stopEvent != nullptr) {
if (eStop->event_ != nullptr) {
eStop->event_->release();
}
eStop->event_ = &command->event();
command->retain();
}