P4 to Git Change 2026045 by cpaquot@cpaquot-ocl-lc-lnx on 2019/11/06 15:01:45

SWDEV-145570 - [HIP] Report submitted when actually submitted to the HW.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#33 edit
Este commit está contenido en:
foreman
2019-11-06 15:19:25 -05:00
padre d16ccc8dcc
commit 438eb7d9ce
+3 -1
Ver fichero
@@ -134,10 +134,12 @@ void HostQueue::loop(device::VirtualDevice* virtualDevice) {
}
ClPrint(LOG_DEBUG, LOG_CMD, "command is submitted: %p", command);
command->setStatus(CL_SUBMITTED);
// Submit to the device queue.
command->submit(*virtualDevice);
command->setStatus(CL_SUBMITTED);
// if this is a user invisible marker command, then flush
if (0 == command->type()) {
virtualDevice->flush(head);