-
Notifications
You must be signed in to change notification settings - Fork 116
/
.gitlab-ci.yml
114 lines (97 loc) · 2.38 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Docker image. You can delete this line if you're not using Docker
image: python:3-stretch
variables:
GIT_SUBMODULE_STRATEGY: recursive
setup_dace:
stage: build
tags:
- linux
script:
- echo "Reverting configuration to defaults"
- rm -f ~/.dace.conf
- echo "Clearing binary cache"
- rm -rf .dacecache tests/.dacecache
- echo "Installing additional dependencies"
- pip3 install --upgrade --user tensorflow-gpu
- echo "Installing DaCe"
- pip3 install --upgrade --user .
test_linux_cpu:
stage: test
tags:
- intel
- linux
script:
- export DACE_debugprint=1
- tests/gemm_test.sh
test_linux_cuda:
stage: test
tags:
- cuda
- linux
script:
- export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
- export PATH=/usr/local/cuda/bin:$PATH
- export CUDA_ROOT=/usr/local/cuda
- export DACE_debugprint=1
- tests/cuda_test.sh
test_mpihello:
stage: test
tags:
- intel
- linux
- mpi
script:
- cd tests/
- PATH=$PATH:/opt/mpich3.2.11/bin xvfb-run python3 ../scripts/diode --optscript mpihello_test_opt.py --headless --local
test_mpihello2:
stage: test
tags:
- intel
- linux
- mpi
script:
- cd tests/
- PATH=$PATH:/opt/mpich3.2.11/bin xvfb-run python3 ../scripts/diode --optscript mpihello2_test_opt.py --headless --local
test_filter:
stage: test
tags:
- intel
- linux
script:
- cd tests/
- xvfb-run python3 ../scripts/diode --optscript filter_test_opt.py --headless --local
test_spmv:
stage: test
tags:
- intel
- linux
script:
- cd tests/
- xvfb-run python3 ../scripts/diode --optscript spmv_test_opt.py --headless --local
test_simple_stencil:
stage: test
tags:
- intel
- linux
script:
- cd tests/
- xvfb-run python3 ../scripts/diode --optscript simple_stencil_test_opt.py --headless --local
test_all:on-schedule:
only:
- schedules
stage: test
tags:
- intel
- linux
script:
- export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
- export PATH=/usr/local/cuda/bin:/opt/mpich3.2.11/bin:/opt/Xilinx/SDx/2018.2/bin:$PATH
- export CUDA_ROOT=/usr/local/cuda
- NOSTATUSBAR=1 xvfb-run ./test_all.sh
test_xilinx:
stage: test
tags:
- xilinx
script:
- export PATH=/opt/Xilinx/SDx/2018.2/bin:$PATH
- xvfb-run tests/xilinx_test.sh 0