SWDEV-384557 - Rename env var

- Rename HIP_USE_SDMA_QUERY to DEBUG_CLR_USE_SDMA_QUERY as this is
supposed to be a temporary env var for debug purposes only.

Change-Id: If6ebd52ab87624375a3df24ceccdcc05c60a65af
This commit is contained in:
Saleel Kudchadker committed 2023-06-29 13:54:55 -04:00
1 parent a034995f81
commit 770b2a4711
3 files changed
+5 -5

No files matched your search

+1 -1
Vedi File
@@ -1240,7 +1240,7 @@ bool Device::populateOCLDeviceConstants() {
}
assert(group_segment_size > 0);
if (HIP_USE_SDMA_QUERY) {
if (DEBUG_CLR_USE_SDMA_QUERY) {
// Find SDMA read mask
if (HSA_STATUS_SUCCESS != hsa_amd_memory_copy_engine_status(getCpuAgent(), getBackendDevice(),
&maxSdmaReadMask_)) {