Skip to content

Commit 7558554

Browse files
manoj-freyrManoj S K
authored andcommitted
Merge pull request #637 from ROCm-Developer-Tools/nv32
navi21 - new set of conf. files
1 parent e710ce4 commit 7558554

11 files changed

+1716
-5
lines changed

rvs/conf/nv21/gpup_single.conf

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
# ################################################################################
2+
# #
3+
# # Copyright (c) 2018-2022 Advanced Micro Devices, Inc. All rights reserved.
4+
# #
5+
# # MIT LICENSE:
6+
# # Permission is hereby granted, free of charge, to any person obtaining a copy of
7+
# # this software and associated documentation files (the "Software"), to deal in
8+
# # the Software without restriction, including without limitation the rights to
9+
# # use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
10+
# # of the Software, and to permit persons to whom the Software is furnished to do
11+
# # so, subject to the following conditions:
12+
# #
13+
# # The above copyright notice and this permission notice shall be included in all
14+
# # copies or substantial portions of the Software.
15+
# #
16+
# # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
# # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
# # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
# # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
# # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
# # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
# # SOFTWARE.
23+
# #
24+
# ###############################################################################
25+
26+
# Run test with testscript or binary:
27+
#
28+
# Using Testscript -
29+
# cd /opt/rocm/share/rocm-validation-suite/testscripts
30+
# sudo ./gpup.new.sh
31+
#
32+
# Using Binary -
33+
# cd /opt/rocm/share/rocm-validation-suite/conf
34+
# cd /opt/rocm/bin
35+
# sudo ./rvs -c /opt/rocm/share/rocm-validation-suite/conf/gpup_single.conf
36+
#
37+
# Note: Paths may vary with the ROCm version or ROCm installation path.
38+
39+
# GPUP test #1
40+
#
41+
# Preconditions:
42+
# all AMD compatible GPUs
43+
# all types of devices
44+
# all gpu properties, all io_links properties
45+
#
46+
# Expected result:
47+
# Test passes with displaying all properties values for any GPUs
48+
49+
actions:
50+
- name: RVS-GPUP-TC1
51+
device: all
52+
module: gpup
53+
properties:
54+
all:
55+
io_links-properties:
56+
all:
57+
58+
# GPUP test #2
59+
#
60+
# Preconditions:
61+
# all AMD compatible GPUs
62+
# all types of devices
63+
# no regular expressions
64+
# only a subset of gpu properties, only a subset of io_link properties
65+
#
66+
# Expected result:
67+
# Test passes with displaying subsets of properties and io_link properties values for any GPUs
68+
69+
- name: RVS-GPUP-TC2
70+
device: all
71+
module: gpup
72+
properties:
73+
simd_count:
74+
mem_banks_count:
75+
io_links_count:
76+
vendor_id:
77+
location_id:
78+
max_engine_clk_ccompute:
79+
io_links-properties:
80+
version_major:
81+
type:
82+
version_major:
83+
version_minor:
84+
node_from:
85+
node_to:
86+
recommended_transfer_size:
87+
flags:
88+
89+
# GPUP test #3
90+
#
91+
# Preconditions:
92+
# only a subset of AMD compatible GPUs (device filtering)
93+
# all types of devices
94+
# all gpu properties, all io_link properties
95+
#
96+
# Expected result:
97+
# Test passes with displaying all properties and io_link properties values for subset of GPUs
98+
#
99+
# Note:
100+
# Testing specific device, if device numbers are changed in system it should be changed in the test
101+
102+
- name: RVS-GPUP-TC3
103+
device: all
104+
module: gpup
105+
properties:
106+
all:
107+
io_links-properties:
108+
all:
109+
110+
# GPUP test #4
111+
#
112+
# Preconditions:
113+
# all AMD compatible GPUs
114+
# a given device type (deviceid filtering), this must be filled based on deviceid in sysfs/ ./rvs -g.
115+
# Default is 0=> no filtering
116+
# all gpu properties, all io_link properties
117+
#
118+
# Expected result:
119+
# Test passes with displaying all properties and io_link properties values for all GPUs and given deviceid
120+
121+
- name: RVS-GPUP-TC4
122+
device: all
123+
module: gpup
124+
deviceid: 0
125+
properties:
126+
all:
127+
io_links-properties:
128+
all:
129+
130+
# GPUP test #5
131+
#
132+
# Preconditions:
133+
# only a subset of AMD compatible GPUs (device filtering)
134+
# a given device type (deviceid filtering) this must be filled based on deviceid in sysfs/ ./rvs -g
135+
# Default is 0=> no filtering
136+
# all gpu properties, all io_link properties
137+
#
138+
# Expected result:
139+
# Test passes with displaying all properties and io_link properties values for subset of GPUs and given deviceid
140+
#
141+
# Note:
142+
# Testing specific device, if device numbers are changed in system it should be changed in the test
143+
144+
- name: RVS-GPUP-TC5
145+
device: all
146+
module: gpup
147+
deviceid: 0
148+
properties:
149+
all:
150+
io_links-properties:
151+
all:
152+
153+
# GPUP test #6
154+
#
155+
# Preconditions:
156+
# only a subset of AMD compatible GPUs (device filtering)
157+
# a given device type (deviceid filtering) this must be filled based on deviceid in sysfs/ ./rvs -g
158+
# Default is 0=> no filtering
159+
# only a subset of gpu properties, only a subset of io_link properties
160+
#
161+
# Expected result:
162+
# Test passes with displaying subset of properties and io_link properties values for subset of GPUs and given deviceid
163+
#
164+
# Note:
165+
# Testing specific device, if device numbers are changed in system it should be changed in the test
166+
167+
- name: RVS-GPUP-TC6
168+
device: all
169+
module: gpup
170+
deviceid: 0
171+
properties:
172+
mem_banks_count:
173+
io_links-properties:
174+
version_major:

rvs/conf/nv21/gst_single.conf

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
# ################################################################################
2+
# #
3+
# # Copyright (c) 2018-2023 Advanced Micro Devices, Inc. All rights reserved.
4+
# #
5+
# # MIT LICENSE:
6+
# # Permission is hereby granted, free of charge, to any person obtaining a copy of
7+
# # this software and associated documentation files (the "Software"), to deal in
8+
# # the Software without restriction, including without limitation the rights to
9+
# # use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
10+
# # of the Software, and to permit persons to whom the Software is furnished to do
11+
# # so, subject to the following conditions:
12+
# #
13+
# # The above copyright notice and this permission notice shall be included in all
14+
# # copies or substantial portions of the Software.
15+
# #
16+
# # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
# # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
# # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
# # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
# # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
# # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
# # SOFTWARE.
23+
# #
24+
# ###############################################################################
25+
26+
27+
28+
# GST test
29+
#
30+
# Preconditions:
31+
# Set device to all. If you need to run the rvs only on a subset of GPUs, please run rvs with -g
32+
# option, collect the GPUs IDs (e.g.: GPU[ 5 - 50599] -> 50599 is the GPU ID) and then specify
33+
# all the GPUs IDs separated by white space
34+
# Set parallel execution to false
35+
# Set matrix_size to 8640 (for Vega 10 cards). For Vega 20, the recommended matrix_size is 8640
36+
# Set run count to 2 (each test will run twice)
37+
# Set copy_matrix to false (the matrices will be copied to GPUs only once)
38+
#
39+
# Run test with:
40+
# cd bin
41+
# sudo ./rvs -c conf/gst_1.conf -d 3
42+
#
43+
# Expected result:
44+
# The test on each GPU passes (TRUE) if the GPU achieves 5000 gflops
45+
# in maximum 7 seconds and then the GPU sustains the gflops
46+
# for the rest of the test duration (total duration is 18 seconds).
47+
# A single Gflops violation (with a 7% tolerance) is allowed.
48+
# FALSE otherwise
49+
50+
actions:
51+
- name: gpustress-9000-sgemm-false
52+
device: all
53+
module: gst
54+
parallel: false
55+
count: 1
56+
duration: 10000
57+
copy_matrix: false
58+
target_stress: 6000
59+
matrix_size_a: 8640
60+
matrix_size_b: 8640
61+
matrix_size_c: 8640
62+
ops_type: sgemm
63+
lda: 8640
64+
ldb: 8640
65+
ldc: 8640
66+
67+
68+
- name: gpustress-8000-sgemm-true
69+
device: all
70+
module: gst
71+
parallel: true
72+
count: 1
73+
wait: 100
74+
duration: 18000
75+
ramp_interval: 7000
76+
log_interval: 1000
77+
max_violations: 1
78+
copy_matrix: true
79+
target_stress: 6000
80+
tolerance: 0.07
81+
matrix_size_a: 8640
82+
matrix_size_b: 8640
83+
matrix_size_c: 8640
84+
ops_type: sgemm
85+
lda: 8640
86+
ldb: 8640
87+
ldc: 8640
88+
89+
- name: gpustress-4096-hgemm-false
90+
device: all
91+
module: gst
92+
parallel: false
93+
count: 1
94+
wait: 100
95+
duration: 18000
96+
ramp_interval: 7000
97+
log_interval: 1000
98+
max_violations: 1
99+
copy_matrix: true
100+
target_stress: 41000
101+
tolerance: 0.1
102+
matrix_size_a: 4096
103+
matrix_size_b: 4096
104+
matrix_size_c: 4096
105+
ops_type: hgemm
106+
lda: 4096
107+
ldb: 4096
108+
ldc: 4096
109+
110+
- name: gpustress-4096-hgemm-true
111+
device: all
112+
module: gst
113+
parallel: true
114+
count: 2
115+
wait: 100
116+
duration: 18000
117+
ramp_interval: 7000
118+
log_interval: 1000
119+
max_violations: 1
120+
copy_matrix: true
121+
target_stress: 41000
122+
tolerance: 0.07
123+
matrix_size_a: 4096
124+
matrix_size_b: 4096
125+
matrix_size_c: 4096
126+
ops_type: hgemm
127+
lda: 4096
128+
ldb: 4096
129+
ldc: 4096
130+
131+
132+
- name: gpustress-8000-device-false
133+
device: all
134+
module: gst
135+
parallel: false
136+
count: 2
137+
wait: 100
138+
duration: 18000
139+
ramp_interval: 7000
140+
log_interval: 1000
141+
max_violations: 1
142+
copy_matrix: true
143+
target_stress: 6000
144+
tolerance: 0.07
145+
matrix_size_a: 8640
146+
matrix_size_b: 8640
147+
matrix_size_c: 8640
148+
ops_type: sgemm
149+
lda: 8640
150+
ldb: 8640
151+
ldc: 8640
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# ################################################################################
2+
# #
3+
# # Copyright (c) 2018-2023 Advanced Micro Devices, Inc. All rights reserved.
4+
# #
5+
# # MIT LICENSE:
6+
# # Permission is hereby granted, free of charge, to any person obtaining a copy of
7+
# # this software and associated documentation files (the "Software"), to deal in
8+
# # the Software without restriction, including without limitation the rights to
9+
# # use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
10+
# # of the Software, and to permit persons to whom the Software is furnished to do
11+
# # so, subject to the following conditions:
12+
# #
13+
# # The above copyright notice and this permission notice shall be included in all
14+
# # copies or substantial portions of the Software.
15+
# #
16+
# # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
# # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
# # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
# # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
# # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
# # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
# # SOFTWARE.
23+
# #
24+
# ###############################################################################
25+
26+
actions:
27+
- name: gpustress-3hrs
28+
device: all
29+
module: gst
30+
parallel: true
31+
count: 1
32+
duration: 10800000
33+
ramp_interval: 300000
34+
log_interval: 6000
35+
target_stress: 5000
36+
max_violations: 1
37+
copy_matrix: false
38+
tolerance: 0.01
39+
matrix_size_a: 8640
40+
matrix_size_b: 8640
41+
matrix_size_c: 8640
42+
ops_type: sgemm
43+

0 commit comments

Comments
 (0)