Skip to content

Commit

Permalink
Update src/cunumeric/index/select.cu
Browse files Browse the repository at this point in the history
Co-authored-by: Manolis Papadakis <[email protected]>
  • Loading branch information
ipdemes and manopapad authored Dec 3, 2023
1 parent 348bf7d commit ca3a9d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cunumeric/index/select.cu
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ struct SelectImplBody<VariantKind::GPU, CODE, DIM> {
#ifdef DEBUG_CUNUMERIC
assert(narrays == choicelist.size());
#endif
const size_t blocks = (out_size + THREADS_PER_BLOCK - 1) / THREADS_PER_BLOCK;
const size_t blocks = (rect.volume() + THREADS_PER_BLOCK - 1) / THREADS_PER_BLOCK;

auto stream = get_cached_stream();

Expand Down

0 comments on commit ca3a9d0

Please sign in to comment.