Skip to content

Commit b6e4ddf

Browse files
committed
updated cuda_ops
1 parent 8cd3ea5 commit b6e4ddf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

taskflow/cuda/cuda_ops.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ __global__ void cuda_for_each(T* data, size_t N, F functor) {
1515
if (i < N) {
1616
functor(data[i]);
1717
}
18+
}
1819

1920
// ----------------------------------------------------------------------------
2021
// for_each
2122
// ----------------------------------------------------------------------------
22-
}
2323

2424
// Kernel: for_each_index
2525
template <typename I, typename F>

0 commit comments

Comments
 (0)