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
This commit is contained in:
@@ -112,7 +112,7 @@ Settings::Settings() {
|
||||
numDeviceEvents_ = 1024;
|
||||
numWaitEvents_ = 8;
|
||||
|
||||
numScratchWavesPerCu_ = 16;
|
||||
numScratchWavesPerCu_ = 32;
|
||||
|
||||
// Don't support platform atomics by default.
|
||||
svmAtomics_ = false;
|
||||
|
||||
Reference in New Issue
Block a user