SWDEV-333471 - Remove HIP_FORCE_QUEUE_PROFILING

HIP_FORCE_QUEUE_PROFILING has been replaced by GPU_FORCE_QUEUE_PROFILING.

Change-Id: Ic8dec4407ef79c27094cb3954e48869075b4732f
This commit is contained in:
Jason Tang authored and Jason Tang committed 2022-08-24 11:53:16 -04:00
1 parent 0d6e8e378e
commit 97741fe5d4
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -690,7 +690,7 @@ hipError_t hipGraphExec::CreateQueues(size_t numQueues) {
for (size_t i = 0; i < numQueues; i++) {
amd::HostQueue* queue;
cl_command_queue_properties properties =
(callbacks_table.is_enabled() || HIP_FORCE_QUEUE_PROFILING) ? CL_QUEUE_PROFILING_ENABLE : 0;
callbacks_table.is_enabled() ? CL_QUEUE_PROFILING_ENABLE : 0;
queue = new amd::HostQueue(*hip::getCurrentDevice()->asContext(),
*hip::getCurrentDevice()->devices()[0], properties,
amd::CommandQueue::RealTimeDisabled, amd::CommandQueue::Priority::Normal);