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 96a24ae commit 17f6365Copy full SHA for 17f6365
sycl/source/detail/jit_compiler.cpp
@@ -712,8 +712,8 @@ jit_compiler::fuseKernels(QueueImplPtr Queue,
712
KernelName.find("_ZTSN4sycl3_V16detail19__pf_kernel_wrapper") == 0) &&
713
!Args.empty()) {
714
auto &A0 = Args[0];
715
- int Dims = KernelCG->MNDRDesc.Dims;
716
- if (A0.MPtr && A0.MSize == (Dims * sizeof(size_t)) &&
+ auto Dims = KernelCG->MNDRDesc.Dims;
+ if (A0.MPtr && A0.MSize == static_cast<int>(Dims * sizeof(size_t)) &&
717
A0.MType == kernel_param_kind_t::kind_std_layout) {
718
size_t *UGS = reinterpret_cast<size_t *>(A0.MPtr);
719
// Range-rounding only applies to the first dimension.
0 commit comments