Skip to content

Commit 84b07b4

Browse files
authored
Updated default config for V100 and A100 (#51)
1 parent 7208790 commit 84b07b4

File tree

3 files changed

+11
-19
lines changed

3 files changed

+11
-19
lines changed

projects/resources/java/grcuda-benchmark/src/test/java/it/necst/grcuda/benchmark/TestBenchmarks.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void init() throws IOException, InterruptedException {
6868
br.readLine(); // discard "name" at the beginning of the output
6969
while((line=br.readLine())!=null){
7070
GPU g = GPU.valueOfName(line);
71-
assertNotEquals("GPU should be present in the GPU enum",null, g);
71+
assertNotEquals("There is no configuration file for the current GPU model, please add it and modify the GPU enum in TestBenchmarks.java",null, g);
7272
detectedGPUS.add(g);
7373
}
7474
assertEquals(1, detectedGPUS.size());

projects/resources/java/grcuda-benchmark/src/test/java/it/necst/grcuda/benchmark/config_A100.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,39 +7,35 @@
77
"debug": false,
88
"nvprof_profile": false,
99
"num_elem": {
10-
"B1": [160000000, 250000000, 500000000, 800000000, 950000000],
1110
"B1M": [160000000,250000000, 500000000, 800000000, 950000000],
1211
"B5M": [10000000,16000000, 21000000, 28000000, 35000000],
1312
"B6M": [1000000,1200000, 1400000, 1600000, 1800000],
1413
"B11M": [20000, 30000, 40000, 50000, 60000]
1514
},
1615
"benchmarks": ["B1M","B5M","B6M","B11M"],
1716
"numBlocks": {
18-
"B1": 64,
1917
"B1M": 64,
2018
"B5M": 64,
2119
"B6M": 64,
2220
"B11M": 64
2321
},
2422
"exec_policies" : ["async"],
2523
"dependency_policies": ["with-const"],
26-
"new_stream_policies": ["always-new", "reuse"],
27-
"parent_stream_policies": ["disjoint","multigpu-disjoint"],
24+
"new_stream_policies": ["always-new"],
25+
"parent_stream_policies": ["multigpu-disjoint"],
2826
"choose_device_policies": ["round-robin","stream-aware","min-transfer-size", "minmax-transfer-time"],
2927
"memory_advise": ["none"],
30-
"prefetch": [false, true],
31-
"stream_attach": [false, true],
28+
"prefetch": [false],
29+
"stream_attach": [false],
3230
"time_computation": [false],
3331
"num_gpus": [8,4,2,1],
3432
"block_size1d": {
35-
"B1": 64,
3633
"B1M": 32,
3734
"B5M": 1024,
3835
"B6M": 32,
3936
"B11M": 256
4037
},
4138
"block_size2d": {
42-
"B1": 8,
4339
"B1M": 8,
4440
"B5M": 8,
4541
"B6M": 8,

projects/resources/java/grcuda-benchmark/src/test/java/it/necst/grcuda/benchmark/config_V100.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,16 @@
44
"randomInit": false,
55
"cpuValidation": false,
66
"heap_size": 470,
7-
"debug": true,
7+
"debug": false,
88
"nvprof_profile": false,
99
"num_elem": {
10-
"B1": [160000000, 250000000, 500000000, 800000000, 950000000],
11-
"B1M": [950000000],
10+
"B1M": [160000000,250000000, 500000000, 800000000, 950000000],
1211
"B5M": [10000000,16000000, 21000000, 28000000, 35000000],
1312
"B6M": [1000000,1200000, 1400000, 1600000, 1800000],
1413
"B11M": [20000, 30000, 40000, 50000, 60000]
1514
},
16-
"benchmarks": ["B6M"],
15+
"benchmarks": ["B1M", "B5M", "B6M", "B11M"],
1716
"numBlocks": {
18-
"B1": 64,
1917
"B1M": 64,
2018
"B5M": 64,
2119
"B6M": 64,
@@ -24,22 +22,20 @@
2422
"exec_policies" : ["async"],
2523
"dependency_policies": ["with-const"],
2624
"new_stream_policies": ["always-new"],
27-
"parent_stream_policies": ["disjoint"],
28-
"choose_device_policies": ["round-robin"],
25+
"parent_stream_policies": ["multigpu-disjoint"],
26+
"choose_device_policies": ["round-robin","stream-aware","min-transfer-size", "minmax-transfer-time"],
2927
"memory_advise": ["none"],
3028
"prefetch": [false],
3129
"stream_attach": [false],
3230
"time_computation": [false],
33-
"num_gpus": [1],
31+
"num_gpus": [8,4,2,1],
3432
"block_size1d": {
35-
"B1": 64,
3633
"B1M": 32,
3734
"B5M": 1024,
3835
"B6M": 32,
3936
"B11M": 256
4037
},
4138
"block_size2d": {
42-
"B1": 8,
4339
"B1M": 8,
4440
"B5M": 8,
4541
"B6M": 8,

0 commit comments

Comments
 (0)