brintos

brintos / llvm-project-archived public Read only

0
0
Text · 644 B · 8a5ae22 Raw
15 lines · python
1# Check all variants of instructions supported by PTX78 on SM902# RUN: %python %s --ptx=78 --gpu-arch=90 --aa > %t-ptx78-sm_90.ll3# RUN: FileCheck %t-ptx78-sm_90.ll < %t-ptx78-sm_90.ll \4# RUN:           --check-prefixes=PTX78STMATRIX-DAG5# RUN: llc < %t-ptx78-sm_90.ll -mtriple=nvptx64 -mcpu=sm_90 -mattr=+ptx78 \6# RUN:           | FileCheck %t-ptx78-sm_90.ll7# RUN: %if ptxas-sm_90 && ptxas-isa-7.8 %{                                                  \8# RUN: llc < %t-ptx78-sm_90.ll -mtriple=nvptx64 -mcpu=sm_90 -mattr=+ptx78 \9# RUN:           | %ptxas-verify -arch=sm_90                              \10# RUN: %}11 12import wmma13 14wmma.main()15