[Openmp-commits] [openmp] 15d47de - [LIBOPENMP][NVPTX]Fix the build error in the runtime.
Alexey Bataev via Openmp-commits
openmp-commits at lists.llvm.org
Tue Dec 17 11:46:16 PST 2019
Author: Alexey Bataev
Date: 2019-12-17T14:46:04-05:00
New Revision: 15d47deedd1623289ef8f56cabd44bc2592745ac
URL: https://github.com/llvm/llvm-project/commit/15d47deedd1623289ef8f56cabd44bc2592745ac
DIFF: https://github.com/llvm/llvm-project/commit/15d47deedd1623289ef8f56cabd44bc2592745ac.diff
LOG: [LIBOPENMP][NVPTX]Fix the build error in the runtime.
Added:
Modified:
openmp/libomptarget/deviceRTLs/common/src/libcall.cu
Removed:
################################################################################
diff --git a/openmp/libomptarget/deviceRTLs/common/src/libcall.cu b/openmp/libomptarget/deviceRTLs/common/src/libcall.cu
index b9d37f48efa6..00eec92d71ef 100644
--- a/openmp/libomptarget/deviceRTLs/common/src/libcall.cu
+++ b/openmp/libomptarget/deviceRTLs/common/src/libcall.cu
@@ -358,7 +358,7 @@ EXTERN void omp_unset_lock(omp_lock_t *lock) {
EXTERN int omp_test_lock(omp_lock_t *lock) {
int rc = __kmpc_impl_test_lock(lock);
- PRINT(LD_IO, "call omp_test_lock() return %d\n", ret);
+ PRINT(LD_IO, "call omp_test_lock() return %d\n", rc);
return rc;
}
More information about the Openmp-commits
mailing list