diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2019-12-17 14:33:03 -0500 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2019-12-17 14:46:04 -0500 |
commit | 15d47deedd1623289ef8f56cabd44bc2592745ac (patch) | |
tree | 80214edf09e9cefc2d08793b0e36dc882eaa9d13 | |
parent | fff8ec98139379968cc7cebb71d771cf58a39a5c (diff) | |
download | bcm5719-llvm-15d47deedd1623289ef8f56cabd44bc2592745ac.tar.gz bcm5719-llvm-15d47deedd1623289ef8f56cabd44bc2592745ac.zip |
[LIBOPENMP][NVPTX]Fix the build error in the runtime.
-rw-r--r-- | openmp/libomptarget/deviceRTLs/common/src/libcall.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/libomptarget/deviceRTLs/common/src/libcall.cu b/openmp/libomptarget/deviceRTLs/common/src/libcall.cu index b9d37f48efa..00eec92d71e 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; } |