SWDEV-430256 - Expose HIP_FORCE_DEV_KERNARG under PAL

Add support of HIP_FORCE_DEV_KERNARG under PAL.
Fix persistent memory detection for a resource view.

Change-Id: Ifb7db2db14e0c2205a9661cfa53887ec61ab26a4


[ROCm/clr commit: 5f297d75d9]
This commit is contained in:
German
2023-11-01 15:50:29 -04:00
committed by German Andryeyev
parent 367d211aa2
commit 32e02383ba
4 changed files with 18 additions and 5 deletions
@@ -147,6 +147,7 @@ Settings::Settings() {
alwaysResident_ = amd::IS_HIP ? true : false;
prepinnedMinSize_ = 0;
cpDmaCopySizeMax_ = GPU_CP_DMA_COPY_SIZE * Ki;
useDeviceKernelArg_ = flagIsDefault(HIP_FORCE_DEV_KERNARG) ? false : HIP_FORCE_DEV_KERNARG;
}
bool Settings::create(const Pal::DeviceProperties& palProp,