-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration_jacobi.py
37 lines (28 loc) · 1 KB
/
configuration_jacobi.py
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
from benchmarks.jacobi_test import *
from instance import *
from platforms.berkeley import *
from platforms.chapel import *
from platforms.cray_upc import *
def generate_instances(check_platform=False):
print("Generating instances...")
instances = []
if False:
instances.extend(
get_instance_list(
BenchmarkJacobiTest(),
PlatformCrayUPC(param_cores=[1, 2, 4, 8, 16]
), check_platform)
)
instances.extend(
get_instance_list(
BenchmarkJacobiTest(is_chapel=True),
PlatformChapel(param_cores=[1, 2, 4, 8, 16, 32]
), check_platform)
)
instances.extend(
get_instance_list(
BenchmarkJacobiTest(),
PlatformBerkeley(conduits=['smp'], param_cores=[1, 2, 4, 8, 16, 32]), check_platform) )
print(len( instances ), " instances available.")
print("")
return instances