brintos

brintos / llvm-project-archived public Read only

0
0
Text · 538 B · 40055ae Raw
13 lines · python
1# Check all variants of instructions supported by PTX87 on SM120a2# RUN: %python %s --ptx=87 --gpu-arch=120 --aa > %t-ptx87-sm_120a.ll3# RUN: llc < %t-ptx87-sm_120a.ll -mtriple=nvptx64 -mcpu=sm_120a -mattr=+ptx87 \4# RUN:           | FileCheck %t-ptx87-sm_120a.ll5# RUN: %if ptxas-sm_120a && ptxas-isa-8.7 %{                                  \6# RUN: llc < %t-ptx87-sm_120a.ll -mtriple=nvptx64 -mcpu=sm_120a -mattr=+ptx87 \7# RUN:           | %ptxas-verify -arch=sm_120a                              \8# RUN: %}9 10import wmma11 12wmma.main()13