Skip to content

Commit 7c564c7

Browse files
committed
AOCL-BLAS Release 4.2
2 parents a5a3c8b + ed5b1db commit 7c564c7

1,363 files changed

Lines changed: 89638 additions & 27695 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ build_script:
4343
- ps: Push-AppveyorArtifact C:\blis.zip
4444

4545
test_script:
46+
# "make checkblas" does not work with shared linking Windows due to inability to override xerbla_
4647
- if [%LIB_TYPE%]==[shared] set "TEST_TARGET=checkblis-fast"
4748
- if [%LIB_TYPE%]==[static] set "TEST_TARGET=check"
4849
- bash -lc "cd /c/projects/blis && mingw32-make %TEST_TARGET% -j4 V=1"

.travis.yml

Lines changed: 36 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,76 @@
11
language: c
22
sudo: required
3-
dist: trusty
3+
dist: focal
4+
branches:
5+
only:
6+
- master
7+
- dev
8+
- amd
49
matrix:
510
include:
6-
# full testsuite (all tests except for mixed datatype)
11+
# full testsuite (all tests + mixed datatype (gemm_nn only) + salt + SDE + OOT)
712
- os: linux
813
compiler: gcc
9-
env: OOT=0 TEST=1 SDE=0 THR="none" CONF="auto"
10-
# mixed-datatype testsuite (gemm_nn only)
11-
- os: linux
12-
compiler: gcc
13-
env: OOT=0 TEST=MD SDE=0 THR="none" CONF="auto"
14-
# salt testsuite (fast set of operations+parameters)
15-
- os: linux
16-
compiler: gcc
17-
env: OOT=0 TEST=SALT SDE=0 THR="none" CONF="auto"
18-
# test x86_64 ukrs with SDE
19-
- os: linux
20-
compiler: gcc
21-
env: OOT=0 TEST=0 SDE=1 THR="none" CONF="x86_64"
14+
env: OOT=1 TEST=ALL SDE=1 THR="none" CONF="x86_64" \
15+
PACKAGES="gcc-8 binutils"
2216
# openmp build
2317
- os: linux
2418
compiler: gcc
25-
env: OOT=0 TEST=0 SDE=0 THR="openmp" CONF="auto"
19+
env: OOT=0 TEST=FAST SDE=0 THR="openmp" CONF="auto" \
20+
PACKAGES="gcc-8 binutils"
2621
# pthreads build
2722
- os: linux
2823
compiler: gcc
29-
env: OOT=0 TEST=0 SDE=0 THR="pthreads" CONF="auto"
30-
# out-of-tree build
31-
- os: linux
32-
compiler: gcc
33-
env: OOT=1 TEST=0 SDE=0 THR="none" CONF="auto"
24+
env: OOT=0 TEST=FAST SDE=0 THR="pthreads" CONF="auto" \
25+
PACKAGES="gcc-8 binutils"
3426
# clang build
3527
- os: linux
3628
compiler: clang
37-
env: OOT=0 TEST=0 SDE=0 THR="none" CONF="auto"
29+
env: OOT=0 TEST=FAST SDE=0 THR="none" CONF="auto"
30+
# There seems to be some difficulty installing 2 Clang toolchains of different versions.
31+
# Use the TravisCI default.
32+
# PACKAGES="clang-8 binutils"
3833
# macOS with system compiler (clang)
3934
- os: osx
4035
compiler: clang
41-
env: OOT=0 TEST=1 SDE=0 THR="none" CONF="auto"
36+
env: OOT=0 TEST=FAST SDE=0 THR="none" CONF="auto"
4237
# cortexa15 build and fast testsuite (qemu)
4338
- os: linux
4439
compiler: arm-linux-gnueabihf-gcc
4540
env: OOT=0 TEST=FAST SDE=0 THR="none" CONF="cortexa15" \
46-
PACKAGES="gcc-arm-linux-gnueabihf qemu-system-arm qemu-user" \
41+
CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ \
42+
PACKAGES="gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libc6-dev-armhf-cross qemu-system-arm qemu-user" \
4743
TESTSUITE_WRAPPER="qemu-arm -cpu cortex-a15 -L /usr/arm-linux-gnueabihf/"
4844
# cortexa57 build and fast testsuite (qemu)
4945
- os: linux
5046
compiler: aarch64-linux-gnu-gcc
5147
env: OOT=0 TEST=FAST SDE=0 THR="none" CONF="cortexa57" \
52-
PACKAGES="gcc-aarch64-linux-gnu qemu-system-arm qemu-user" \
48+
CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ \
49+
PACKAGES="gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libc6-dev-arm64-cross qemu-system-arm qemu-user" \
5350
TESTSUITE_WRAPPER="qemu-aarch64 -L /usr/aarch64-linux-gnu/"
51+
# armsve build and fast testsuite (qemu)
52+
- os: linux
53+
compiler: aarch64-linux-gnu-gcc-10
54+
env: OOT=0 TEST=FAST SDE=0 THR="none" CONF="armsve" \
55+
CC=aarch64-linux-gnu-gcc-10 CXX=aarch64-linux-gnu-g++-10 \
56+
PACKAGES="gcc-10-aarch64-linux-gnu g++-10-aarch64-linux-gnu libc6-dev-arm64-cross qemu-system-arm qemu-user" \
57+
TESTSUITE_WRAPPER="qemu-aarch64 -cpu max,sve=true,sve512=true -L /usr/aarch64-linux-gnu/"
5458
install:
55-
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo rm -f /usr/bin/as; fi
56-
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo ln -s /usr/lib/binutils-2.26/bin/as /usr/bin/as; fi
57-
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo rm -f /usr/bin/ld; fi
58-
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo ln -s /usr/lib/binutils-2.26/bin/ld /usr/bin/ld; fi
59-
- if [ "$CC" = "gcc" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then export CC="gcc-6"; fi
60-
- if [ -n "$PACKAGES" ]; then sudo apt-get install -y $PACKAGES; fi
61-
addons:
62-
apt:
63-
sources:
64-
- ubuntu-toolchain-r-test
65-
packages:
66-
- gcc-6
67-
- binutils-2.26
68-
- clang
59+
- if [ "$CC" = "gcc" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then export CC="gcc-8"; fi
60+
- if [ -n "$PACKAGES" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install -y $PACKAGES; fi
6961
script:
7062
- export DIST_PATH=.
7163
- pwd
7264
- if [ $OOT -eq 1 ]; then export DIST_PATH=`pwd`; mkdir ../oot; cd ../oot; chmod -R a-w $DIST_PATH; fi
7365
- pwd
74-
- $DIST_PATH/configure -t $THR CC=$CC $CONF
66+
- $DIST_PATH/configure -p `pwd`/../install -t $THR CC=$CC $CONF
7567
- pwd
7668
- ls -l
7769
- $CC --version
7870
- make -j 2
71+
- make install
72+
- $DIST_PATH/travis/cxx/cxx-test.sh $DIST_PATH $(ls -1 include)
73+
# Qemu SVE is failing sgemmt in some cases. Skip as this issue is not observed on real chip (A64fx).
74+
- if [ "$CONF" = "armsve" ]; then sed -i 's/.*\<gemmt\>.*/0/' $DIST_PATH/testsuite/input.operations.fast; fi
7975
- if [ "$TEST" != "0" ]; then travis_wait 30 $DIST_PATH/travis/do_testsuite.sh; fi
8076
- if [ "$SDE" = "1" ]; then travis_wait 30 $DIST_PATH/travis/do_sde.sh; fi

0 commit comments

Comments
 (0)