forked from ROCm/rocPRIM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci-gputest.yml
70 lines (66 loc) · 1.73 KB
/
.gitlab-ci-gputest.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
.test:cmake-latest:
stage: test
needs:
- build:cmake-latest
extends:
- .deps:cmake-latest
test:vega20:
extends: .test:cmake-latest
tags:
- vega20
- rocm
variables:
PARALLEL_JOBS: 2
TEST_GFX_IPS_REGEX: gfx906
script:
- cd $BUILD_LATEST_DIR
- $SUDO_CMD $CMAKE_LATEST_PATH/bin/cmake
-D CMAKE_PREFIX_PATH=/opt/rocm
-P $CI_PROJECT_DIR/cmake/GenerateResourceSpec.cmake
- $SUDO_CMD $CMAKE_LATEST_PATH/bin/ctest
--output-on-failure
--repeat-until-fail 2
--tests-regex "hip|$TEST_GFX_IPS_REGEX"
--resource-spec-file ./resources.json
--parallel $PARALLEL_JOBS
test:mi25:
extends: .test:cmake-latest
tags:
- mi25
- rocm
variables:
PARALLEL_JOBS: 2
TEST_GFX_IPS_REGEX: gfx900
script:
- cd $BUILD_LATEST_DIR
- $SUDO_CMD $CMAKE_LATEST_PATH/bin/cmake
-D CMAKE_PREFIX_PATH=/opt/rocm
-P $CI_PROJECT_DIR/cmake/GenerateResourceSpec.cmake
- $SUDO_CMD $CMAKE_LATEST_PATH/bin/ctest
--output-on-failure
--repeat-until-fail 2
--tests-regex "hip|$TEST_GFX_IPS_REGEX"
--resource-spec-file ./resources.json
--parallel $PARALLEL_JOBS
test:s9300:
extends: .test:cmake-latest
needs:
- build:cmake-latest
tags:
- s9300
- rocm
variables:
PARALLEL_JOBS: 6
TEST_GFX_IPS_REGEX: gfx803
script:
- cd $BUILD_LATEST_DIR
- $SUDO_CMD $CMAKE_LATEST_PATH/bin/cmake
-D CMAKE_PREFIX_PATH=/opt/rocm
-P $CI_PROJECT_DIR/cmake/GenerateResourceSpec.cmake
- $SUDO_CMD $CMAKE_LATEST_PATH/bin/ctest
--output-on-failure
--repeat-until-fail 2
--tests-regex "hip|$TEST_GFX_IPS_REGEX"
--resource-spec-file ./resources.json
--parallel $PARALLEL_JOBS
allow_failure: true