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/clr commit: e638c1377f]
Этот коммит содержится в:
foreman
2018-08-02 02:18:57 -04:00
родитель a3fc17658c
Коммит 68f06e9f60
+3
Просмотреть файл
@@ -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();
}