brintos

brintos / llvm-project-archived public Read only

0
0
Text · 797 B · 944d284 Raw
17 lines · python
1# Check all variants of instructions supported by PTX63 on SM752# RUN: %python %s --ptx=63 --gpu-arch=75 > %t-ptx63-sm_75.ll3# RUN: FileCheck %t-ptx63-sm_75.ll < %t-ptx63-sm_75.ll \4# RUN:           --check-prefixes=INTRINSICS,M16N16,EXTGEOM,INT,SUBINT5# RUN: FileCheck %t-ptx63-sm_75.ll < %t-ptx63-sm_75.ll \6# RUN:           --check-prefixes=INTRINSICS,NOMMA,NODOUBLE,NOALTFLOAT,NOLDMATRIX7# RUN: llc < %t-ptx63-sm_75.ll -mtriple=nvptx64 -mcpu=sm_75 -mattr=+ptx63 \8# RUN:           | FileCheck %t-ptx63-sm_75.ll9# RUN: %if ptxas-sm_75 && ptxas-isa-6.3 %{                                                  \10# RUN: llc < %t-ptx63-sm_75.ll -mtriple=nvptx64 -mcpu=sm_75 -mattr=+ptx63 \11# RUN:           | %ptxas-verify -arch=sm_75                              \12# RUN: %}13 14import wmma15 16wmma.main()17