aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/NVPTX/wmma-ptx86-sm100a.py
blob: 6ad0a2a5865c418bd2ae0a75fbcf01734e2b7d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Check all variants of instructions supported by PTX86 on SM100a
# RUN: %python %s --ptx=86 --gpu-arch=100 --aa > %t-ptx86-sm_100a.ll
# RUN: FileCheck %t-ptx86-sm_100a.ll < %t-ptx86-sm_100a.ll \
# RUN:           --check-prefixes=PTX86LDMATRIX-DAG
# RUN: FileCheck %t-ptx86-sm_100a.ll < %t-ptx86-sm_100a.ll \
# RUN:           --check-prefixes=PTX86LDMATRIX-DAG
# RUN: llc < %t-ptx86-sm_100a.ll -mtriple=nvptx64 -mcpu=sm_100a -mattr=+ptx86 \
# RUN:           | FileCheck %t-ptx86-sm_100a.ll
# RUN: %if ptxas-12.7 %{                                                  \
# RUN: llc < %t-ptx86-sm_100a.ll -mtriple=nvptx64 -mcpu=sm_100a -mattr=+ptx86 \
# RUN:           | %ptxas-verify -arch=sm_100a                              \
# RUN: %}

import wmma

wmma.main()