Bump version to 19.1.0-rc3
[llvm-project.git] / llvm / test / CodeGen / NVPTX / wmma-ptx71-sm80.py
blob0da9c8e799ceb2a6af25503c7e6d7a79e34820f5
1 # Check all variants of instructions supported by PTX71 on SM80+
2 # RUN: %python %s --ptx=71 --gpu-arch=80 > %t-ptx71-sm_80.ll
3 # RUN: FileCheck %t-ptx71-sm_80.ll < %t-ptx71-sm_80.ll \
4 # RUN: --check-prefixes=INTRINSICS,M16N16,EXTGEOM,INT,SUBINT,MMA,ALTFLOAT,DOUBLE,PTX65MMA,PTX65LDMATRIX,PTX71MMA
5 # RUN: FileCheck %t-ptx71-sm_80.ll < %t-ptx71-sm_80.ll \
6 # RUN: --check-prefixes=INTRINSICS
7 # RUN: llc < %t-ptx71-sm_80.ll -march=nvptx64 -mcpu=sm_80 -mattr=+ptx71 \
8 # RUN: | FileCheck %t-ptx71-sm_80.ll
9 # RUN: %if ptxas-11.1 %{ \
10 # RUN: llc < %t-ptx71-sm_80.ll -march=nvptx64 -mcpu=sm_80 -mattr=+ptx71 \
11 # RUN: | %ptxas-verify -arch=sm_80 \
12 # RUN: %}
14 import wmma
16 wmma.main()