Skip to content

Commit

Permalink
[OpenMP][OMPX] No default argument for C API
Browse files Browse the repository at this point in the history
  • Loading branch information
shiltian committed May 24, 2024
1 parent 5c40db1 commit 8c718a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmp/runtime/src/include/ompx.h.var
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ uint64_t ompx_ballot_sync(uint64_t mask, int pred);
///{
#define _TGT_KERNEL_LANGUAGE_SHFL_DOWN_SYNC(TYPE, TY) \
TYPE ompx_shfl_down_sync_##TY(uint64_t mask, TYPE var, unsigned delta, \
int width = __WARP_SIZE);
int width);

_TGT_KERNEL_LANGUAGE_SHFL_DOWN_SYNC(int, i)
_TGT_KERNEL_LANGUAGE_SHFL_DOWN_SYNC(float, f)
Expand Down

0 comments on commit 8c718a3

Please sign in to comment.