[clang] [llvm] [OpenMP] Adds omp_target_is_accessible routine (PR #138294)
Shilei Tian via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 24 07:08:38 PDT 2025
================
@@ -0,0 +1,40 @@
+// RUN: %libomptarget-compilexx-generic
+// RUN: env HSA_XNACK=1 %libomptarget-run-generic 2>&1 \
+// RUN: | %fcheck-generic
+
+// RUN: %libomptarget-compilexx-generic
+// RUN: env HSA_XNACK=0 %libomptarget-run-generic 2>&1 \
+// RUN: | %fcheck-generic -check-prefix=NO_USM
+
+// REQUIRES: unified_shared_memory
+// REQUIRES: amdgpu
----------------
shiltian wrote:
I'd make this a XFAIL for nvptx instead of a requirement, since it always returns false.
https://github.com/llvm/llvm-project/pull/138294
More information about the cfe-commits
mailing list