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