Skip to content

Commit e152b0d

Browse files
authored
[SYCL] Remove unused lambda captures (#3317)
The problem was exposed in post-commit testing.
1 parent 4127426 commit e152b0d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sycl/source/detail/program_manager/program_manager.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,7 @@ RT::PiProgram ProgramManager::getBuiltPIProgram(OSModuleHandle M,
395395
LinkOpts = LinkOptsEnv;
396396
}
397397

398-
auto BuildF = [this, &M, &KSId, &Context, &Device, Prg, &Img,
399-
&JITCompilationIsRequired, &CompileOpts, &LinkOpts] {
398+
auto BuildF = [this, &Context, &Device, Prg, &Img, &CompileOpts, &LinkOpts] {
400399
ContextImplPtr ContextImpl = getSyclObjImpl(Context);
401400
const detail::plugin &Plugin = ContextImpl->getPlugin();
402401
RT::PiProgram NativePrg = createPIProgram(Img, Context, Device);

0 commit comments

Comments
 (0)