1# Check all variants of instructions supported by PTX65 on SM75+ 2# RUN: %python %s --ptx=65 --gpu-arch=75 > %t-ptx65-sm_75.ll 3# RUN: FileCheck %t-ptx65-sm_75.ll < %t-ptx65-sm_75.ll \ 4# RUN: --check-prefixes=INTRINSICS,M16N16,EXTGEOM,INT,SUBINT,MMA,PTX65MMA,PTX65LDMATRIX 5# RUN: FileCheck %t-ptx65-sm_75.ll < %t-ptx65-sm_75.ll \ 6# RUN: --check-prefixes=INTRINSICS 7# RUN: llc < %t-ptx65-sm_75.ll -mtriple=nvptx64 -mcpu=sm_75 -mattr=+ptx65 \ 8# RUN: | FileCheck %t-ptx65-sm_75.ll 9# RUN: %if ptxas-10.2 %{ \ 10# RUN: llc < %t-ptx65-sm_75.ll -mtriple=nvptx64 -mcpu=sm_75 -mattr=+ptx65 \ 11# RUN: | %ptxas-verify -arch=sm_75 \ 12# RUN: %} 13 14import wmma 15 16wmma.main() 17