brintos

brintos / llvm-project-archived public Read only

0
0
Text · 685 B · f0e9723 Raw
15 lines · python
1# Check all variants of instructions supported by PTX86 on SM101a2# RUN: %python %s --ptx=86 --gpu-arch=101 --aa > %t-ptx86-sm_101a.ll3# RUN: FileCheck %t-ptx86-sm_101a.ll < %t-ptx86-sm_101a.ll \4# RUN:           --check-prefixes=PTX86LDMATRIX-DAG,PTX86STMATRIX-DAG5# RUN: llc < %t-ptx86-sm_101a.ll -mtriple=nvptx64 -mcpu=sm_101a -mattr=+ptx86 \6# RUN:           | FileCheck %t-ptx86-sm_101a.ll7# RUN: %if ptxas-sm_101a && ptxas-isa-8.6 %{                                                  \8# RUN: llc < %t-ptx86-sm_101a.ll -mtriple=nvptx64 -mcpu=sm_101a -mattr=+ptx86 \9# RUN:           | %ptxas-verify -arch=sm_101a                              \10# RUN: %}11 12import wmma13 14wmma.main()15