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

Change-Id: If03396b5a7a3a69e05fdb4c43791a0d84d9f4127
This commit is contained in:
jatang authored and Jason Tang committed 2022-12-28 12:59:08 -05:00
1 والد 6c1a250331
کامیت 05a8eaaf0f
1 file changed
+2
@@ -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_) {