P4 to Git Change 1793462 by gandryey@gera-win10 on 2019/06/07 15:33:19

SWDEV-79445 - OCL generic changes and code clean-up
	Optimize scratch buffer calculation in the preparation for coop group launch, since the current limit affects max waves calculation:
	- Switch to 32 waves per CU as the max possible limit
	- Use vgprs count for the waves limit calculation to avoid unconditional possible max

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#141 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#82 edit
Este cometimento está contido em:
foreman cometeu 2019-06-07 16:04:41 -04:00
1 ascendente 180c320d5c
cometimento f829f695e3
3 ficheiros modificados
+30 -22

Não existem ficheiros que correspondam à sua pesquisa

+1 -1
Ver ficheiro
@@ -112,7 +112,7 @@ Settings::Settings() {
numDeviceEvents_ = 1024;
numWaitEvents_ = 8;
numScratchWavesPerCu_ = 16;
numScratchWavesPerCu_ = 32;
// Don't support platform atomics by default.
svmAtomics_ = false;