Skip to content

Commit

Permalink
Make clang-14-cuda-11 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
fthaler committed Jun 18, 2024
1 parent 990555e commit ea9e3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/gridtools/fn/backend/gpu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ namespace gridtools::fn::backend {
__global__ void __launch_bounds__(NumThreads)
kernel(Sizes sizes, PtrHolder ptr_holder, Strides strides, Fun fun) {
auto const [thread_idx, block_size] = global_thread_index<ThreadBlockSizes, LoopBlockSizes>(sizes);
if (!tuple_util::all_of(std::less(), thread_idx, sizes))
if (!tuple_util::device::all_of(std::less(), thread_idx, sizes))
return;
auto ptr = ptr_holder();
sid::multi_shift(ptr, strides, thread_idx);
Expand Down

0 comments on commit ea9e3c9

Please sign in to comment.