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:
@@ -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) &&
|
||||
|
||||
@@ -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_)) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user