aboutsummaryrefslogtreecommitdiff
path: root/libomptarget/deviceRTLs/nvptx/src/sync.cu
diff options
context:
space:
mode:
authorJon Chesterfield <jonathanchesterfield@gmail.com>2019-09-03 16:31:30 +0000
committerJon Chesterfield <jonathanchesterfield@gmail.com>2019-09-03 16:31:30 +0000
commit537de38cfe7387cbeecb51e03fe87fd38933a363 (patch)
tree834892cb2a35f14a39bb2db3b0d6fcc084296bb3 /libomptarget/deviceRTLs/nvptx/src/sync.cu
parent1fe4d6217edb8c431631aa39a1f75fd2519bb7eb (diff)
[libomptarget] Refactor activemask macro to inline function
Summary: [libomptarget] Refactor activemask macro to inline function See also abandoned D66846, split into this diff and others. Reviewers: jdoerfert, ABataev, grokos, ronlieb, gregrodgers Reviewed By: jdoerfert, ABataev Subscribers: openmp-commits Tags: #openmp Differential Revision: https://reviews.llvm.org/D66851 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@370781 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'libomptarget/deviceRTLs/nvptx/src/sync.cu')
-rw-r--r--libomptarget/deviceRTLs/nvptx/src/sync.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/libomptarget/deviceRTLs/nvptx/src/sync.cu b/libomptarget/deviceRTLs/nvptx/src/sync.cu
index 3ce695c..343293e 100644
--- a/libomptarget/deviceRTLs/nvptx/src/sync.cu
+++ b/libomptarget/deviceRTLs/nvptx/src/sync.cu
@@ -142,7 +142,7 @@ EXTERN void __kmpc_flush(kmp_Ident *loc) {
EXTERN int32_t __kmpc_warp_active_thread_mask() {
PRINT0(LD_IO, "call __kmpc_warp_active_thread_mask\n");
- return __ACTIVEMASK();
+ return __kmpc_impl_activemask();
}
////////////////////////////////////////////////////////////////////////////////