brintos

brintos / llvm-project-archived public Read only

0
0
Text · 800 B · a796045 Raw
17 lines · python
1# Check all variants of instructions supported by PTX64 on SM70+2# RUN: %python %s --ptx=64 --gpu-arch=70 > %t-ptx64-sm_70.ll3# RUN: FileCheck %t-ptx64-sm_70.ll < %t-ptx64-sm_70.ll \4# RUN:           --check-prefixes=INTRINSICS,M16N16,EXTGEOM,MMA5# RUN: FileCheck %t-ptx64-sm_70.ll < %t-ptx64-sm_70.ll \6# RUN:           --check-prefixes=INTRINSICS,NOINT,NOSUBINT,NODOUBLE,NOALTFLOAT,NOLDMATRIX7# RUN: llc < %t-ptx64-sm_70.ll -mtriple=nvptx64 -mcpu=sm_70 -mattr=+ptx64 \8# RUN:           | FileCheck %t-ptx64-sm_70.ll9# RUN: %if ptxas-sm_70 && ptxas-isa-6.4 %{                                                  \10# RUN: llc < %t-ptx64-sm_70.ll -mtriple=nvptx64 -mcpu=sm_70 -mattr=+ptx64 \11# RUN:           | %ptxas-verify -arch=sm_70                              \12# RUN: %}13 14import wmma15 16wmma.main()17