aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/NVPTX/wmma-ptx78-sm90.py
blob: 8f502065345c19df8ac02447cb359c2b39f3c798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Check all variants of instructions supported by PTX78 on SM90
# RUN: %python %s --ptx=78 --gpu-arch=90 --aa > %t-ptx78-sm_90.ll
# RUN: FileCheck %t-ptx78-sm_90.ll < %t-ptx78-sm_90.ll \
# RUN:           --check-prefixes=PTX78STMATRIX-DAG
# RUN: llc < %t-ptx78-sm_90.ll -mtriple=nvptx64 -mcpu=sm_90 -mattr=+ptx78 \
# RUN:           | FileCheck %t-ptx78-sm_90.ll
# RUN: %if ptxas-12.7 %{                                                  \
# RUN: llc < %t-ptx78-sm_90.ll -mtriple=nvptx64 -mcpu=sm_90 -mattr=+ptx78 \
# RUN:           | %ptxas-verify -arch=sm_90                              \
# RUN: %}

import wmma

wmma.main()