Skip to content
This repository was archived by the owner on Sep 22, 2025. It is now read-only.

Commit 716d4e7

Browse files
committed
Revert clang format "fix" for CMakeLists.txt
1 parent b330fe7 commit 716d4e7

File tree

1 file changed

+19
-22
lines changed

1 file changed

+19
-22
lines changed

test/gtest/mp/CMakeLists.txt

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
#SPDX - FileCopyrightText : Intel Corporation
1+
# SPDX-FileCopyrightText: Intel Corporation
22
#
3-
#SPDX - License - Identifier : BSD - 3 - Clause
3+
# SPDX-License-Identifier: BSD-3-Clause
44

55
set(CMAKE_INCLUDE_CURRENT_DIR ON)
66

7-
#tested with a variable number of ranks
8-
#cmake - format : off
7+
# tested with a variable number of ranks
8+
# cmake-format: off
99
add_executable(
1010
mp-tests
1111
mp-tests.cpp
@@ -17,10 +17,10 @@ add_executable(
1717
../common/drop.cpp
1818
../common/enumerate.cpp
1919
../common/equal.cpp
20-
#../ common / exclusive_scan.cpp disabled due to deadlock - DRA - 213
20+
# ../common/exclusive_scan.cpp disabled due to deadlock - DRA-213
2121
../common/fill.cpp
2222
../common/for_each.cpp
23-
#../ common / inclusive_scan.cpp disabled due to deadlock - DRA - 213
23+
# ../common/inclusive_scan.cpp disabled due to deadlock - DRA-213
2424
../common/iota.cpp
2525
../common/iota_view.cpp
2626
../common/reduce.cpp
@@ -55,11 +55,9 @@ add_executable(
5555
wide-halo-2d-3.cpp
5656
)
5757

58-
#mp - quick - test and mp - quick - test - 3 - \
59-
only is for development.By reducing the number of source files, \
60-
it
61-
#builds much faster.Change the source files to match what you need to test.It
62-
#is OK to commit changes to the source file list.
58+
# mp-quick-test and mp-quick-test-3-only is for development. By reducing the number of source files, it
59+
# builds much faster. Change the source files to match what you need to test. It
60+
# is OK to commit changes to the source file list.
6361
add_executable(mp-quick-test
6462
mp-tests.cpp
6563
halo.cpp
@@ -68,7 +66,7 @@ add_executable(mp-quick-test-3-only
6866
mp-tests.cpp
6967
wide-halo-2d-3.cpp
7068
)
71-
#cmake - format : on
69+
# cmake-format: on
7270

7371
target_compile_definitions(mp-quick-test PRIVATE QUICK_TEST)
7472
target_compile_definitions(mp-quick-test-3-only PRIVATE QUICK_TEST)
@@ -82,8 +80,8 @@ foreach(test-exec IN ITEMS mp-tests mp-tests-3 mp-quick-test mp-quick-test-3-onl
8280
"${CMAKE_COMMAND} -E time")
8381
endforeach()
8482

85-
#tests without-- sycl flag will fail on IshmemBackend TODO : make them be
86-
#running somehow if ENABLE_ISHMEM will be default CI config
83+
# tests without --sycl flag will fail on IshmemBackend TODO: make them be
84+
# running somehow if ENABLE_ISHMEM will be default CI config
8785
if(NOT ENABLE_ISHMEM)
8886
add_mp_ctest(NAME mp-quick-test NPROC 1)
8987
add_mp_ctest(NAME mp-quick-test NPROC 2)
@@ -92,7 +90,7 @@ if(NOT ENABLE_ISHMEM)
9290
cmake_path(GET MPI_CXX_ADDITIONAL_INCLUDE_DIRS FILENAME MPI_IMPL)
9391

9492
if(NOT MPI_IMPL STREQUAL "openmpi")
95-
#MPI_Win_create fails for communicator with size 1
93+
# MPI_Win_create fails for communicator with size 1
9694
add_mp_ctest(NAME mp-tests NPROC 1 TIMEOUT 150)
9795
endif()
9896
foreach(nproc RANGE 2 4)
@@ -102,16 +100,15 @@ if(NOT ENABLE_ISHMEM)
102100
endif()
103101

104102
if(ENABLE_SYCL)
105-
#DRA - 83 : Slide isn't complete
103+
# DRA-83: Slide isn't complete
106104
set(sycl-exclusions *Slide*:ComplexSlide*:)
107105

108106
if(ENABLE_ISHMEM)
109-
#Some Halo3 cases don't work on IshmemBackend (work on MPI, see: DRA-84),
110-
#Counted.large fails with
111-
#distributed - \
112-
ranges / test / gtest / common / counted.cpp : 62 : Failure Expected
113-
#equality of these values : *(--counted_result.end())Which is : 5, should be
114-
# 77 Mdspan, Mdarray hangs sometimes on ISHMEM.
107+
# Some Halo3 cases don't work on IshmemBackend (work on MPI, see: DRA-84),
108+
# Counted.large fails with
109+
# distributed-ranges/test/gtest/common/counted.cpp:62: Failure Expected
110+
# equality of these values: *(--counted_result.end()) Which is: 5, should be
111+
# 77 Mdspan, Mdarray hangs sometimes on ISHMEM.
115112
set(sycl-exclusions
116113
${sycl-exclusions}Halo3/*:Sort*:Counted/*:Mdspan*:Mdarray*:)
117114
endif()

0 commit comments

Comments
 (0)