Skip to content

Commit b8f9c8b

Browse files
authored
[SYCL][Fusion] Silence warning (#12555)
Silence unused variable warning which tripped post-commit checks for #12492. Signed-off-by: Julian Oppermann <[email protected]>
1 parent b897152 commit b8f9c8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/jit_compiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ jit_compiler::fuseKernels(QueueImplPtr Queue,
712712
KernelName.find("_ZTSN4sycl3_V16detail19__pf_kernel_wrapper") == 0) &&
713713
!Args.empty()) {
714714
auto &A0 = Args[0];
715-
auto Dims = KernelCG->MNDRDesc.Dims;
715+
[[maybe_unused]] auto Dims = KernelCG->MNDRDesc.Dims;
716716
assert(A0.MPtr && A0.MSize == static_cast<int>(Dims * sizeof(size_t)) &&
717717
A0.MType == kernel_param_kind_t::kind_std_layout &&
718718
"Unexpected signature for rounded range kernel");

0 commit comments

Comments
 (0)