P4 to Git Change 1740048 by wchau@wchau_OCL_Linux on 2019/02/05 14:10:40
SWDEV-134107 - Add support for respecting target's xnack setting - Enable the XNACK feature for all the APU system and remove the xnackEnabled_ field in AMDDeviceInfo struct Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#332 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#23 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#116 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#98 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#41 edit
Esse commit está contido em:
@@ -77,10 +77,12 @@ bool Settings::create(bool fullProfile, int gfxipVersion) {
|
||||
pinnedXferSize_ = 0;
|
||||
stagedXferSize_ = 0;
|
||||
xferBufSize_ = 0;
|
||||
apuSystem_ = true;
|
||||
} else {
|
||||
pinnedXferSize_ = std::max(pinnedXferSize_, pinnedMinXferSize_);
|
||||
stagedXferSize_ = std::max(stagedXferSize_, pinnedMinXferSize_ + 4 * Ki);
|
||||
}
|
||||
enableXNACK_ = apuSystem_ ? 1 : 0 ; // enable xnack for APU system
|
||||
|
||||
// Enable extensions
|
||||
enableExtension(ClKhrByteAddressableStore);
|
||||
@@ -118,10 +120,6 @@ bool Settings::create(bool fullProfile, int gfxipVersion) {
|
||||
enableExtension(ClAmdFp64);
|
||||
}
|
||||
|
||||
if (gfxipVersion == 902) {
|
||||
apuSystem_ = true;
|
||||
}
|
||||
|
||||
// Override current device settings
|
||||
override();
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário