Skip to content

Commit

Permalink
Fix unused variable
Browse files Browse the repository at this point in the history
Signed-off-by: Julian Oppermann <[email protected]>
  • Loading branch information
jopperm committed Nov 25, 2024
1 parent 92ae661 commit b227396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sycl-jit/jit-compiler/lib/rtc/DeviceCompilation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ Expected<RTCBundleInfo> jit_compiler::performPostLink(
ModuleDesc{std::unique_ptr<llvm::Module>{&Module}}, SPLIT_NONE,
/*IROutputOnly=*/false,
/*EmitOnlyKernelsAsEntryPoints=*/true);
bool SplitOccurred = Splitter->remainingSplits() > 1;
[[maybe_unused]] bool SplitOccurred = Splitter->remainingSplits() > 1;
assert(!SplitOccurred);

// TODO: Call `verifyNoCrossModuleDeviceGlobalUsage` if device globals shall
Expand Down

0 comments on commit b227396

Please sign in to comment.