P4 to Git Change 2042612 by eshcherb@evgeny-hip on 2019/12/09 11:11:38

SWDEV-197289 - HIP-VDI tracing
	activity suppressing of type is zero;
	fixing callbacks table recursive mutex;

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_prof_api.h#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#101 edit
This commit is contained in:
foreman
2019-12-09 11:22:57 -05:00
parent 3c2ac9e6ff
commit 584dc895df
+1 -1
View File
@@ -207,7 +207,7 @@ Command::Command(HostQueue& queue, cl_command_type type,
commandWaitBits_(commandWaitBits) {
// Retain the commands from the event wait list.
std::for_each(eventWaitList.begin(), eventWaitList.end(), std::mem_fun(&Command::retain));
activity_.Initialize(type, queue.vdev()->index(), queue.device().index());
if (type != 0) activity_.Initialize(type, queue.vdev()->index(), queue.device().index());
}
void Command::releaseResources() {