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
Este cometimento está contido em:
foreman cometeu 2019-02-05 14:44:09 -05:00
1 ascendente fad3d44aa9
cometimento 1fa47a7398
5 ficheiros modificados
+25 -27

Não existem ficheiros que correspondam à sua pesquisa

+2 -4
Ver ficheiro
@@ -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();