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
Tá an tiomantas seo le fáil i:
Saleel Kudchadker tiomanta 2023-06-29 13:54:55 -04:00
1 tuismitheoir a034995f81
tiomantas 770b2a4711
3 comhad athraithe
+5 -5

Níor tháinig aon chomhaid le do chuardach

+1 -1
Féach ar an gComhad
@@ -679,7 +679,7 @@ bool DmaBlitManager::hsaCopy(const Memory& srcMemory, const Memory& dstMemory,
uint32_t copyMask = 0;
uint32_t freeEngineMask = 0;
bool useRegularCopyApi = !HIP_USE_SDMA_QUERY;
bool useRegularCopyApi = !DEBUG_CLR_USE_SDMA_QUERY;
HwQueueEngine engine = HwQueueEngine::Unknown;
if ((srcAgent.handle == dev().getCpuAgent().handle) &&
+1 -1
Féach ar an gComhad
@@ -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_)) {
+3 -3
Féach ar an gComhad
@@ -285,9 +285,9 @@ release(bool, HIPRTC_USE_RUNTIME_UNBUNDLER, false, \
release(size_t, HIP_INITIAL_DM_SIZE, 8 * Mi, \
"Set initial heap size for device malloc.") \
release(bool, HIP_FORCE_DEV_KERNARG, 0, \
"Force device mem for kernel args") \
release(bool, HIP_USE_SDMA_QUERY, 0, \
"Use SDMA query API to make copy decisions")
"Force device mem for kernel args.") \
release(bool, DEBUG_CLR_USE_SDMA_QUERY, 0, \
"Use SDMA query API to make copy decisions.")
namespace amd {