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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user