P4 to Git Change 1585929 by asalmanp@asalmanp-ocl-stg on 2018/07/26 12:26:11
SWDEV-132899 - [OCL][GFX10] removing gfx1001 (target for Navi10 Lite if xnack is enabled) starting from gfx10, we will use the same target (e.g., gfx1000) no matter if xnack is enabled/disbaled and we pass "-xnack" option to Finalizer if xnack is enabled on the target ReviewURLBoard = http://ocltc.amd.com/reviews/r/15492/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#37 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#99 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#64 edit
This commit is contained in:
@@ -600,8 +600,13 @@ bool HSAILProgram::linkImpl(amd::option::Options* options) {
|
||||
if (dev().settings().svmFineGrainSystem_) {
|
||||
fin_options.append(" -sc-xnack-iommu");
|
||||
}
|
||||
if (dev().settings().gfx10Plus_ && GPU_FORCE_WAVE_SIZE_32) {
|
||||
fin_options.append(" -force-wave-size-32");
|
||||
if (dev().settings().gfx10Plus_) {
|
||||
if (GPU_FORCE_WAVE_SIZE_32) {
|
||||
fin_options.append(" -force-wave-size-32");
|
||||
}
|
||||
if (dev().hwInfo()->xnackEnabled_) {
|
||||
fin_options.append(" -xnack");
|
||||
}
|
||||
}
|
||||
|
||||
errorCode = aclCompile(dev().compiler(), binaryElf_, fin_options.c_str(), ACL_TYPE_CG,
|
||||
|
||||
Reference in New Issue
Block a user