We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10f7f1d commit 7b047a8Copy full SHA for 7b047a8
sycl/source/detail/program_manager/program_manager.cpp
@@ -995,7 +995,7 @@ ProgramManager::ProgramPtr ProgramManager::build(
995
996
const detail::plugin &Plugin = Context->getPlugin();
997
if (LinkPrograms.empty() && !ForceLink) {
998
- std::string Options = LinkOptions.empty()
+ const std::string &Options = LinkOptions.empty()
999
? CompileOptions
1000
: (CompileOptions + " " + LinkOptions);
1001
RT::PiResult Error = Plugin.call_nocheck<PiApiKind::piProgramBuild>(
0 commit comments