P4 to Git Change 2047959 by skudchad@skudchad_test2_win_opencl on 2019/12/18 14:40:28
SWDEV-213000 - Add notifyCmdQueue in ihipModuleLaunchKernel. This torques timing and flushes the queue immediately. Investigation pending.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/18408/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#51 edit
[ROCm/hip commit: 3beb70b72a]
This commit is contained in:
@@ -354,6 +354,11 @@ hipError_t ihipModuleLaunchKernel(hipFunction_t f,
|
||||
|
||||
command->release();
|
||||
|
||||
// FIXME: SWDEV-213000 - Force notifyCmdQueue to indicate immediate dispatch to HW
|
||||
// This offsets the commandqueue timing and solves 213000. Investigation pending
|
||||
|
||||
command->notifyCmdQueue();
|
||||
|
||||
return hipSuccess;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user