P4 to Git Change 1757990 by asalmanp@asalmanp-ocl-stg on 2019/03/18 21:40:52
SWDEV-132899 - [OCL][GFX10] passing "force-wgp-mode" option to Finalizer to enable WGP mode by default on gfx10+ and allow GPU_ENABLE_WGP_MODE to control the WGP/CU mode for HSAIL/SC path as well. - also for Ariel (Navi10Lite) the wave32 should be disabled in LC but allow GPU_ENABLE_WAVE32_MODE control it for testing if needed. ReviewrequestURL = http://ocltc.amd.com/reviews/r/16926/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#34 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#70 edit
This commit is contained in:
@@ -1857,6 +1857,10 @@ bool Program::linkImplHSAIL(amd::option::Options* options) {
|
||||
fin_options.append(" -force-wave-size-32");
|
||||
}
|
||||
|
||||
if (device().settings().enableWgpMode_) {
|
||||
fin_options.append(" -force-wgp-mode");
|
||||
}
|
||||
|
||||
if (device().settings().hsailExplicitXnack_) {
|
||||
fin_options.append(" -xnack");
|
||||
}
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user