[flang-commits] [flang] WIP: Using nvvm intrinsics for the syncthread and threadfence families of calls (PR #120020)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Wed Dec 18 08:52:18 PST 2024


================
@@ -660,6 +664,9 @@ static constexpr IntrinsicHandler handlers[]{
      &I::genTranspose,
      {{{"matrix", asAddr}}},
      /*isElemental=*/false},
+    {"threadfence", &I::genThreadFence, {}, /*isElemental=*/false},
+    {"threadfence_block", &I::genThreadFenceBlock, {}, /*isElemental=*/false},
+    {"threadfence_system", &I::genThreadFenceSystem, {}, /*isElemental=*/false},
----------------
clementval wrote:

Yeah it was not easy to spot since `threadfence_block` and the other worked. I guess it was just no luck that the pivot was probably around these. 

https://github.com/llvm/llvm-project/pull/120020


More information about the flang-commits mailing list