[llvm] [NVPTX] Add Volta Load/Store Atomics (.relaxed, .acquire, .release) and Volatile (.mmio/.volatile) support (PR #98022)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 15:33:20 PDT 2024


================
@@ -0,0 +1,951 @@
+; RUN: llc < %s -march=nvptx64 -mcpu=sm_70 -mattr=+ptx82 | FileCheck %s
+; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_70 -mattr=+ptx82 | %ptxas-verify %}
----------------
Artem-B wrote:

PTX82 will need a newer version of ptxas. You should use `%if ptxas-12.2`.

Also, please do run these tests with ptxas enabled:
```
LLVM_PTXAS_EXECUTABLE=/path/to/cuda-12.2.0/bin/ptxas ninja check-llvm
```


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


More information about the llvm-commits mailing list