|
19 | 19 | from ..extrae import paramedir_analyze_any_of, chop_prv_to_roi, remove_trace |
20 | 20 |
|
21 | 21 | base_configs = { |
22 | | - k: tuple(resource_filename(__name__, w) for w in v) |
| 22 | + k: tuple(resource_filename('pypop', w) for w in v) |
23 | 23 | for k, v in { |
24 | 24 | "Serial Useful Computation": ( |
25 | | - "../cfgs/serial_useful_computation.cfg", |
26 | | - "../cfgs/serial_useful_computation_omp_loop.cfg", |
27 | | - "../cfgs/serial_useful_computation_omp_task.cfg", |
28 | | - "../cfgs/serial_useful_computation_no_omp.cfg", |
| 25 | + "cfgs/serial_useful_computation.cfg", |
| 26 | + "cfgs/serial_useful_computation_omp_loop.cfg", |
| 27 | + "cfgs/serial_useful_computation_omp_task.cfg", |
| 28 | + "cfgs/serial_useful_computation_no_omp.cfg", |
29 | 29 | ), |
30 | 30 | "Total Runtime": ( |
31 | | - "../cfgs/total_runtime_excl_disabled.cfg", |
32 | | - "../cfgs/total_runtime.cfg", |
| 31 | + "cfgs/total_runtime_excl_disabled.cfg", |
| 32 | + "cfgs/total_runtime.cfg", |
33 | 33 | ), |
34 | | - "Useful Instructions": ("../cfgs/useful_instructions.cfg",), |
35 | | - "Useful Cycles": ("../cfgs/useful_cycles.cfg",), |
| 34 | + "Useful Instructions": ("cfgs/useful_instructions.cfg",), |
| 35 | + "Useful Cycles": ("cfgs/useful_cycles.cfg",), |
36 | 36 | }.items() |
37 | 37 | } |
38 | 38 |
|
39 | 39 | omp_configs = { |
40 | | - k: tuple(resource_filename(__name__, w) for w in v) |
| 40 | + k: tuple(resource_filename('pypop', w) for w in v) |
41 | 41 | for k, v in { |
42 | 42 | "OpenMP Total Runtime": ( |
43 | | - "../cfgs/omp_total_runtime.cfg", |
44 | | - "../cfgs/omp_total_runtime_loop.cfg", |
45 | | - "../cfgs/omp_total_runtime_loop.cfg", |
| 43 | + "cfgs/omp_total_runtime.cfg", |
| 44 | + "cfgs/omp_total_runtime_loop.cfg", |
| 45 | + "cfgs/omp_total_runtime_loop.cfg", |
46 | 46 | ), |
47 | 47 | "OpenMP Useful Computation": ( |
48 | | - "../cfgs/omp_useful_computation.cfg", |
49 | | - "../cfgs/omp_useful_computation_loop.cfg", |
50 | | - "../cfgs/omp_useful_computation_task.cfg", |
| 48 | + "cfgs/omp_useful_computation.cfg", |
| 49 | + "cfgs/omp_useful_computation_loop.cfg", |
| 50 | + "cfgs/omp_useful_computation_task.cfg", |
51 | 51 | ), |
52 | 52 | }.items() |
53 | 53 | } |
54 | 54 |
|
55 | 55 | ideal_configs = { |
56 | | - k: tuple(resource_filename(__name__, w) for w in v) |
| 56 | + k: tuple(resource_filename('pypop', w) for w in v) |
57 | 57 | for k, v in { |
58 | | - "Ideal Useful Computation": ("../cfgs/total_useful_computation.cfg",), |
59 | | - "Ideal Runtime": ("../cfgs/total_runtime.cfg",), |
| 58 | + "Ideal Useful Computation": ("cfgs/total_useful_computation.cfg",), |
| 59 | + "Ideal Runtime": ("cfgs/total_runtime.cfg",), |
60 | 60 | }.items() |
61 | 61 | } |
62 | 62 |
|
|
0 commit comments