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 0e10ffd commit 6b0c746Copy full SHA for 6b0c746
examples/axes.cu
@@ -189,6 +189,7 @@ void copy_type_and_block_size_sweep(nvbench::state &state,
189
thrust::device_vector<ValueT> inp(nelems, fill_value);
190
thrust::device_vector<ValueT> out(nelems, ValueT{});
191
192
+ // use cuda::ceil_div(nelems, BLOCK_DIM) with CCCL 2.8 and newer
193
const auto gridSize = (nelems + BLOCK_DIM - 1) / BLOCK_DIM;
194
195
const ValueT *inp_p = thrust::raw_pointer_cast(inp.data());
0 commit comments