[llvm] [Offload] Refactor offload test requirements (PR #95196)

Ethan Luis McDonough via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 11:15:30 PDT 2024


================
@@ -2,7 +2,7 @@
 // RUN: %libomptarget-run-generic %fcheck-generic
 
 // REQURIES: gpu
-// UNSUPPORTED: nvidia-gpu
+// UNSUPPORTED: nvidiagpu
 // UNSUPPORTED: amdgcn-amd-amdhsa
----------------
EthanLuisMcDonough wrote:

I think the test where that matters is assert.c:

https://github.com/llvm/llvm-project/blob/88b8437ccfe02e9c4911610d3bcc31985f345918/offload/test/libc/assert.c#L6-L8

If the test isn't meant to run anywhere yet, I think `// UNSUPPORTED: host, gpu` might be more explicit.

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


More information about the llvm-commits mailing list