Skip to content

Commit cc13c88

Browse files
Use auto to gridSize
1 parent 2099274 commit cc13c88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/axes.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ void copy_type_and_block_size_sweep(nvbench::state &state,
185185
thrust::device_vector<ValueT> inp(nelems, fill_value);
186186
thrust::device_vector<ValueT> out(nelems, ValueT{});
187187

188-
const uint gridSize = cuda::ceil_div(nelems, BLOCK_DIM);
188+
const auto gridSize = cuda::ceil_div(nelems, BLOCK_DIM);
189189

190190
const ValueT *inp_p = thrust::raw_pointer_cast(inp.data());
191191
ValueT *out_p = thrust::raw_pointer_cast(out.data());

0 commit comments

Comments
 (0)