[Openmp-commits] [openmp] 6d74578 - [OpenMP][FIX] Fix the compile error introduced by reverting eab828d
Shilei Tian via Openmp-commits
openmp-commits at lists.llvm.org
Tue Nov 7 16:46:25 PST 2023
Author: Shilei Tian
Date: 2023-11-07T19:46:18-05:00
New Revision: 6d7457861b24a19e92bb09e8eac693504509c685
URL: https://github.com/llvm/llvm-project/commit/6d7457861b24a19e92bb09e8eac693504509c685
DIFF: https://github.com/llvm/llvm-project/commit/6d7457861b24a19e92bb09e8eac693504509c685.diff
LOG: [OpenMP][FIX] Fix the compile error introduced by reverting eab828d
Added:
Modified:
openmp/libomptarget/DeviceRTL/src/Reduction.cpp
Removed:
################################################################################
diff --git a/openmp/libomptarget/DeviceRTL/src/Reduction.cpp b/openmp/libomptarget/DeviceRTL/src/Reduction.cpp
index cc9a01ab7589026..d2d9fe9f7a88477 100644
--- a/openmp/libomptarget/DeviceRTL/src/Reduction.cpp
+++ b/openmp/libomptarget/DeviceRTL/src/Reduction.cpp
@@ -177,10 +177,10 @@ int32_t __kmpc_nvptx_parallel_reduce_nowait_v2(IdentTy *Loc,
}
int32_t __kmpc_nvptx_teams_reduce_nowait_v2(
- IdentTy *Loc, int32_t TId, void *GlobalBuffer, uint32_t num_of_records,
- void *reduce_data, ShuffleReductFnTy shflFct, InterWarpCopyFnTy cpyFct,
- ListGlobalFnTy lgcpyFct, ListGlobalFnTy lgredFct, ListGlobalFnTy glcpyFct,
- ListGlobalFnTy glredFct) {
+ IdentTy *Loc, void *GlobalBuffer, uint32_t num_of_records,
+ uint64_t reduce_data_size, void *reduce_data, ShuffleReductFnTy shflFct,
+ InterWarpCopyFnTy cpyFct, ListGlobalFnTy lgcpyFct, ListGlobalFnTy lgredFct,
+ ListGlobalFnTy glcpyFct, ListGlobalFnTy glredFct) {
// Terminate all threads in non-SPMD mode except for the master thread.
uint32_t ThreadId = mapping::getThreadIdInBlock();
if (mapping::isGenericMode()) {
More information about the Openmp-commits
mailing list