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:
foreman
2019-03-18 21:59:50 -04:00
vanhempi ddba7b6c8d
commit 0aa5b591fc
2 muutettua tiedostoa jossa 8 lisäystä ja 4 poistoa
@@ -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");
}