[llvm] [NVPTX] Add sparse MMA intrinsics (PR #150950)
Pradeep Kumar via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 22 10:09:59 PDT 2025
schwarzschild-radius wrote:
The build seems to be failing in the ptxas verify step with the following error:
```
# | ptxas c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\lit-tmp-u8i0xye3/tmpxft_0000352c_00000000-0_stdin, line 41681; info : Advisory: Modifier '.sp::ordered_metadata' should be used on instruction 'mma' instead of modifier '.sp' as it is expected to have substantially reduced performance on some future architectures
# | ptxas c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\lit-tmp-u8i0xye3/tmpxft_0000352c_00000000-0_stdin, line 41681; error : Argument 6 of instruction 'Sparse mma': value '3' out of range, expected to be in range [0..0]
# | ptxas c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\lit-tmp-u8i0xye3/tmpxft_0000352c_00000000-0_stdin, line 41729; info : Advisory: Modifier '.sp::ordered_metadata' should be used on instruction 'mma' instead of modifier '.sp' as it is expected to have substantially reduced performance on some future architectures
# | ptxas c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\lit-tmp-u8i0xye3/tmpxft_0000352c_00000000-0_stdin, line 41777; info : Advisory: Modifier '.sp::ordered_metadata' should be used on instruction 'mma' instead of modifier '.sp' as it is expected to have substantially reduced performance on some future architectures
# | ptxas c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\lit-tmp-u8i0xye3/tmpxft_0000352c_00000000-0_stdin, line 41777; error : Argument 6 of instruction 'Sparse mma': value '1' out of range, expected to be in range [0..0]
# | ptxas c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\lit-tmp-u8i0xye3/tmpxft_0000352c_00000000-0_stdin, line 41825; info : Advisory: Modifier '.sp::ordered_metadata' should be used on instruction 'mma' instead of modifier '.sp' as it is expected to have substantially reduced performance on some future architectures
# | ptxas c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\lit-tmp-u8i0xye3/tmpxft_0000352c_00000000-0_stdin, line 41825; error : Argument 6 of instruction 'Sparse mma': value '2' out of range, expected to be in range [0..0]
# | ptxas c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\lit-tmp-u8i0xye3/tmpxft_0000352c_00000000-0_stdin, line 41873; info : Advisory: Modifier '.sp::ordered_metadata' should be used on instruction 'mma' instead of modifier '.sp' as it is expected to have substantially reduced performance on some future architectures
# | ptxas c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\lit-tmp-u8i0xye3/tmpxft_0000352c_00000000-0_stdin, line 41873; error : Argument 6 of instruction 'Sparse mma': value '3' out of range, expected to be in range [0..0]
```
@kvederni has raised another PR (https://github.com/llvm/llvm-project/pull/154984) to fix it
https://github.com/llvm/llvm-project/pull/150950
More information about the llvm-commits
mailing list