File tree 5 files changed +37
-114
lines changed
5 files changed +37
-114
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-FileCopyrightText: Intel Corporation
2
+ #
3
+ # SPDX-License-Identifier: BSD-3-Clause
4
+
5
+ # Useful links about creating this config file:
6
+ # https://cmake-format.readthedocs.io/en/latest/configuration.html
7
+ # https://cmake-format.readthedocs.io/en/latest/configopts.html?highlight=layout_passes
8
+ # https://cmake-format.readthedocs.io/en/latest/format-algorithm.html
9
+
10
+ with section ("format" ): # noqa: F821
11
+ layout_passes = {"PargGroupNode" : [(0 , False )]}
Original file line number Diff line number Diff line change @@ -6,17 +6,9 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
6
6
7
7
add_executable (
8
8
mhp-bench
9
- mhp-bench.cpp
10
- ../common/distributed_vector.cpp
11
- ../common/dot_product.cpp
12
- ../common/stream.cpp
13
- ../common/black_scholes.cpp
14
- rooted.cpp
15
- stencil_1d.cpp
16
- stencil_2d.cpp
17
- chunk.cpp
18
- mdspan.cpp
19
- mpi.cpp)
9
+ mhp-bench.cpp ../common/distributed_vector.cpp ../common/dot_product.cpp
10
+ ../common/stream.cpp ../common/black_scholes.cpp rooted.cpp stencil_1d.cpp
11
+ stencil_2d.cpp chunk.cpp mdspan.cpp mpi.cpp)
20
12
target_compile_definitions (mhp-bench PRIVATE BENCH_MHP)
21
13
target_link_libraries (mhp-bench benchmark::benchmark cxxopts DR::mpi)
22
14
@@ -36,30 +28,12 @@ if(NOT MPI_IMPL STREQUAL "openmpi")
36
28
# intermittent fails with: ONEAPI_DEVICE_SELECTOR=opencl:cpu mpirun -n 1
37
29
# ./mhp-bench --vector-size 30000 --rows 100 --columns 100 --check
38
30
add_mpi_test(
39
- mhp-bench-1
40
- mhp-bench
41
- 1
42
- --vector-size
43
- 30000
44
- --rows
45
- 100
46
- --columns
47
- 100
31
+ mhp-bench-1 mhp-bench 1 --vector-size 30000 --rows 100 --columns 100
48
32
--check)
49
33
if (ENABLE_SYCL)
50
34
add_mpi_test(
51
- mhp-bench-1-sycl
52
- mhp-bench
53
- 1
54
- --vector-size
55
- 30000
56
- --rows
57
- 100
58
- --columns
59
- 100
60
- --check
61
- --benchmark_filter=-.*DPL.*
62
- --sycl)
35
+ mhp-bench-1-sycl mhp-bench 1 --vector-size 30000 --rows 100 --columns 100
36
+ --check --benchmark_filter=-.*DPL.* --sycl)
63
37
endif ()
64
38
endif ()
65
39
Original file line number Diff line number Diff line change @@ -18,43 +18,18 @@ function(add_long_fuzz_mpi_test test_name name processes)
18
18
endfunction ()
19
19
20
20
add_mpi_test(
21
- cpu-fuzz-commit
22
- cpu-fuzz
23
- 1
24
- -max_len=16
25
- -runs=1000000
26
- -ignore_remaining_args=1
21
+ cpu-fuzz-commit cpu-fuzz 1 -max_len=16 -runs=1000000 -ignore_remaining_args=1
27
22
-controller=1)
28
23
29
24
add_long_fuzz_mpi_test(
30
- cpu-fuzz-4-0
31
- cpu-fuzz
32
- 4
33
- -max_len=16
34
- -runs=10000000
35
- -ignore_remaining_args=1
25
+ cpu-fuzz-4-0 cpu-fuzz 4 -max_len=16 -runs=10000000 -ignore_remaining_args=1
36
26
-controller=0)
37
27
add_long_fuzz_mpi_test(
38
- cpu-fuzz-4-1
39
- cpu-fuzz
40
- 4
41
- -max_len=16
42
- -runs=10000000
43
- -ignore_remaining_args=1
28
+ cpu-fuzz-4-1 cpu-fuzz 4 -max_len=16 -runs=10000000 -ignore_remaining_args=1
44
29
-controller=1)
45
30
add_long_fuzz_mpi_test(
46
- cpu-fuzz-4-2
47
- cpu-fuzz
48
- 4
49
- -max_len=16
50
- -runs=10000000
51
- -ignore_remaining_args=1
31
+ cpu-fuzz-4-2 cpu-fuzz 4 -max_len=16 -runs=10000000 -ignore_remaining_args=1
52
32
-controller=2)
53
33
add_long_fuzz_mpi_test(
54
- cpu-fuzz-4-3
55
- cpu-fuzz
56
- 4
57
- -max_len=16
58
- -runs=10000000
59
- -ignore_remaining_args=1
34
+ cpu-fuzz-4-3 cpu-fuzz 4 -max_len=16 -runs=10000000 -ignore_remaining_args=1
60
35
-controller=3)
Original file line number Diff line number Diff line change @@ -7,35 +7,14 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
7
7
# tested with a variable number of ranks
8
8
add_executable (
9
9
mhp-tests
10
- mhp-tests.cpp
11
- ../common/all .cpp
12
- ../common/copy.cpp
13
- ../common/counted.cpp
14
- ../common/distributed_vector.cpp
15
- ../common/drop.cpp
16
- ../common/enumerate.cpp
17
- ../common/fill.cpp
18
- ../common/for_each.cpp
19
- ../common/inclusive_scan.cpp
20
- ../common/iota.cpp
21
- ../common/iota_view.cpp
22
- ../common/reduce.cpp
23
- ../common/subrange.cpp
24
- ../common/take.cpp
25
- ../common/transform.cpp
26
- ../common/transform_view.cpp
27
- ../common/zip.cpp
28
- ../common/zip_local.cpp
29
- alignment.cpp
30
- copy.cpp
31
- distributed_vector.cpp
32
- distributed_dense_matrix.cpp
33
- halo.cpp
34
- mdstar.cpp
35
- reduce.cpp
36
- stencil.cpp
37
- segments.cpp
38
- slide_view.cpp)
10
+ mhp-tests.cpp ../common/all .cpp ../common/copy.cpp ../common/counted.cpp
11
+ ../common/distributed_vector.cpp ../common/drop.cpp ../common/enumerate.cpp
12
+ ../common/fill.cpp ../common/for_each.cpp ../common/inclusive_scan.cpp
13
+ ../common/iota.cpp ../common/iota_view.cpp ../common/reduce.cpp
14
+ ../common/subrange.cpp ../common/take.cpp ../common/transform.cpp
15
+ ../common/transform_view.cpp ../common/zip.cpp ../common/zip_local.cpp
16
+ alignment.cpp copy.cpp distributed_vector.cpp distributed_dense_matrix.cpp
17
+ halo.cpp mdstar.cpp reduce.cpp stencil.cpp segments.cpp slide_view.cpp)
39
18
40
19
add_executable (mhp-tests-3 mhp-tests.cpp halo-3.cpp slide_view-3.cpp
41
20
distributed_dense_matrix3.cpp)
Original file line number Diff line number Diff line change @@ -6,30 +6,14 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
6
6
7
7
add_executable (
8
8
shp-tests
9
- shp-tests.cpp
10
- ../common/all .cpp
11
- ../common/copy.cpp
12
- ../common/counted.cpp
13
- ../common/distributed_vector.cpp
14
- ../common/drop.cpp
15
- ../common/enumerate.cpp
16
- ../common/fill.cpp
17
- ../common/for_each.cpp
18
- ../common/iota.cpp
9
+ shp-tests.cpp ../common/all .cpp ../common/copy.cpp ../common/counted.cpp
10
+ ../common/distributed_vector.cpp ../common/drop.cpp ../common/enumerate.cpp
11
+ ../common/fill.cpp ../common/for_each.cpp ../common/iota.cpp
19
12
# ../common/iota_view.cpp
20
- ../common/reduce.cpp
21
- ../common/subrange.cpp
22
- ../common/take.cpp
23
- ../common/transform.cpp
24
- ../common/transform_view.cpp
25
- ../common/zip.cpp
26
- ../common/zip_local.cpp
27
- containers.cpp
28
- algorithms.cpp
29
- copy.cpp
30
- fill.cpp
31
- gemv.cpp
32
- transform.cpp)
13
+ ../common/reduce.cpp ../common/subrange.cpp ../common/take.cpp
14
+ ../common/transform.cpp ../common/transform_view.cpp ../common/zip.cpp
15
+ ../common/zip_local.cpp containers.cpp algorithms.cpp copy.cpp fill.cpp
16
+ gemv.cpp transform.cpp)
33
17
34
18
add_executable (shp-tests-3 shp-tests.cpp containers-3.cpp copy-3.cpp)
35
19
You can’t perform that action at this time.
0 commit comments