[Openmp-commits] [openmp] e4492b6 - [OpenMP] NFC: temporarily disable assertion until the bug with dependences is fixed

via Openmp-commits openmp-commits at lists.llvm.org
Mon Mar 8 11:18:50 PST 2021


Author: AndreyChurbanov
Date: 2021-03-08T22:18:30+03:00
New Revision: e4492b6f31ffc6eaf8476aaf0ad737c563767028

URL: https://github.com/llvm/llvm-project/commit/e4492b6f31ffc6eaf8476aaf0ad737c563767028
DIFF: https://github.com/llvm/llvm-project/commit/e4492b6f31ffc6eaf8476aaf0ad737c563767028.diff

LOG: [OpenMP] NFC: temporarily disable assertion until the bug with dependences is fixed

Added: 
    

Modified: 
    openmp/runtime/src/kmp_taskdeps.h

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/src/kmp_taskdeps.h b/openmp/runtime/src/kmp_taskdeps.h
index 83820c19e93b..e4953610470a 100644
--- a/openmp/runtime/src/kmp_taskdeps.h
+++ b/openmp/runtime/src/kmp_taskdeps.h
@@ -23,7 +23,8 @@ static inline void __kmp_node_deref(kmp_info_t *thread, kmp_depnode_t *node) {
     return;
 
   kmp_int32 n = KMP_ATOMIC_DEC(&node->dn.nrefs) - 1;
-  KMP_DEBUG_ASSERT(n >= 0);
+  // TODO: temporarily disable assertion until the bug with dependences is fixed
+  //  KMP_DEBUG_ASSERT(n >= 0);
   if (n == 0) {
     KMP_ASSERT(node->dn.nrefs == 0);
 #if USE_FAST_MEMORY


        


More information about the Openmp-commits mailing list