Skip to content

Commit

Permalink
Remove an unnecessary undef in GPU runtime (chapel-lang#24344)
Browse files Browse the repository at this point in the history
This `undef` is probably from an earlier iteration of the GPU-based
reduction implementation. It has no use today. This PR removes it.

Thanks @milthorpe for noticing!

[Trivial, not reviewed]

Test:
- [x] gpu/native with nvidia
  • Loading branch information
e-kayrakli authored Mar 4, 2024
2 parents fb9e2c8 + a600863 commit deccc29
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions runtime/src/gpu/nvidia/gpu-nvidia-reduce.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,5 @@ GPU_IMPL_REDUCE(DEF_ONE_REDUCE_RET_VAL_IDX, ArgMax, maxloc)

#undef DEF_ONE_REDUCE_RET_VAL_IDX

#undef DEF_REDUCE

#endif // HAS_GPU_LOCALE

0 comments on commit deccc29

Please sign in to comment.