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
Этот коммит содержится в:
@@ -202,7 +202,9 @@ release(uint, AMD_SERIALIZE_KERNEL, 0, \
|
||||
"0x2 = Wait for completion after enqueue 0x3 = both") \
|
||||
release(uint, AMD_SERIALIZE_COPY, 0, \
|
||||
"Serialize copies, 0x1 = Wait for completion before enqueue" \
|
||||
"0x2 = Wait for completion after enqueue 0x3 = both")
|
||||
"0x2 = Wait for completion after enqueue 0x3 = both") \
|
||||
release(bool, PAL_ALWAYS_RESIDENT, false, \
|
||||
"Force memory resources to become resident at allocation time")
|
||||
|
||||
namespace amd {
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user