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
2022-08-23 18:47:24 -04:00
zatwierdzone przez Jason Tang
rodzic 0d6e8e378e
commit 97741fe5d4
2 zmienionych plików z 2 dodań i 2 usunięć
+1 -1
Wyświetl plik
@@ -81,7 +81,7 @@ bool Stream::Create() {
// or if we force it with env var. This would enable time stamp collection for every
// command submitted to the stream(queue).
bool isProfilerAttached = callbacks_table.is_enabled();
cl_command_queue_properties properties = (isProfilerAttached || HIP_FORCE_QUEUE_PROFILING) ?
cl_command_queue_properties properties = isProfilerAttached ?
CL_QUEUE_PROFILING_ENABLE : 0;
amd::CommandQueue::Priority p;
switch (priority_) {