P4 to Git Change 2005779 by vsytchen@vsytchen-hip-win10 on 2019/09/27 18:12:14
SWDEV-192384 - [HIP CQE][HIPonPAL][19.40] hipBindTexRef1DFetch, hipTextureRef2D are failed on all ASICs for both Win/Lnx The runtime cannot trivially determine all the resources that will be used by a kernel, thus it can fail to make all of them resident. 1. Add new runtime flag PAL_ALWAYS_RESIDENT. Enabling this setting will cause resources to become resident at allocation time. 2. Set the default value of the above flag to true for HIP and false for OCL. ReviewBoardURL = http://ocltc.amd.com/reviews/r/18054/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#79 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#30 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#100 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#27 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#153 edit ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#319 edit
Этот коммит содержится в:
1 родитель
bf668d922c
Коммит
2404ade2ef
6 files changed
+40
-2
No files matched your search
@@ -152,6 +152,7 @@ Settings::Settings() {
|
||||
imageBufferWar_ = false;
|
||||
disableSdma_ = PAL_DISABLE_SDMA;
|
||||
mallPolicy_ = 0;
|
||||
alwaysResident_ = amd::IS_HIP ? true : ((!flagIsDefault(PAL_ALWAYS_RESIDENT)) ? PAL_ALWAYS_RESIDENT : false);
|
||||
}
|
||||
|
||||
bool Settings::create(const Pal::DeviceProperties& palProp,
|
||||
|
||||
Reference in new issue
Block a user