Skip to content

Commit

Permalink
[SYCL][Fusion] Silence warning (#12555)
Browse files Browse the repository at this point in the history
Silence unused variable warning which tripped post-commit checks for
#12492.

Signed-off-by: Julian Oppermann <julian.oppermann@codeplay.com>
  • Loading branch information
jopperm authored Jan 31, 2024
1 parent b897152 commit b8f9c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sycl/source/detail/jit_compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ jit_compiler::fuseKernels(QueueImplPtr Queue,
KernelName.find("_ZTSN4sycl3_V16detail19__pf_kernel_wrapper") == 0) &&
!Args.empty()) {
auto &A0 = Args[0];
auto Dims = KernelCG->MNDRDesc.Dims;
[[maybe_unused]] auto Dims = KernelCG->MNDRDesc.Dims;
assert(A0.MPtr && A0.MSize == static_cast<int>(Dims * sizeof(size_t)) &&
A0.MType == kernel_param_kind_t::kind_std_layout &&
"Unexpected signature for rounded range kernel");
Expand Down

0 comments on commit b8f9c8b

Please sign in to comment.