SWDEV-372791 - Default UniformWorkGroupSize to true for CL1.x

Change-Id: If03396b5a7a3a69e05fdb4c43791a0d84d9f4127


[ROCm/clr commit: 05a8eaaf0f]
This commit is contained in:
jatang
2022-12-22 16:05:12 -05:00
committed by Jason Tang
parent 59f6fb9aab
commit fca7b357b8
@@ -1967,6 +1967,8 @@ std::vector<std::string> Program::ProcessOptions(amd::option::Options* options)
opts << "-D"
<< "CL_DEVICE_MAX_GLOBAL_VARIABLE_SIZE=" << device().info().maxGlobalVariableSize_;
optionsVec.push_back(opts.str());
} else {
options->oVariables->UniformWorkGroupSize = true;
}
if (!device().settings().useLightning_) {