[Openmp-commits] [openmp] 8c718a3 - [OpenMP][OMPX] No default argument for C API
Shilei Tian via Openmp-commits
openmp-commits at lists.llvm.org
Fri May 24 11:16:13 PDT 2024
Author: Shilei Tian
Date: 2024-05-24T14:15:50-04:00
New Revision: 8c718a3a91df4ab68dc3f1ca3887ea730c9aed84
URL: https://github.com/llvm/llvm-project/commit/8c718a3a91df4ab68dc3f1ca3887ea730c9aed84
DIFF: https://github.com/llvm/llvm-project/commit/8c718a3a91df4ab68dc3f1ca3887ea730c9aed84.diff
LOG: [OpenMP][OMPX] No default argument for C API
Added:
Modified:
openmp/runtime/src/include/ompx.h.var
Removed:
################################################################################
diff --git a/openmp/runtime/src/include/ompx.h.var b/openmp/runtime/src/include/ompx.h.var
index 7f41d6ef92219..cb26ae12f6db3 100644
--- a/openmp/runtime/src/include/ompx.h.var
+++ b/openmp/runtime/src/include/ompx.h.var
@@ -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)
More information about the Openmp-commits
mailing list