Skip to content

Commit c8389c3

Browse files
committed
[bench] remove format flag
1 parent bcb257a commit c8389c3

File tree

1 file changed

+2
-27
lines changed

1 file changed

+2
-27
lines changed

benchmark/utils/formats.hpp

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: 2017 - 2024 The Ginkgo authors
1+
// SPDX-FileCopyrightText: 2017 - 2025 The Ginkgo authors
22
//
33
// SPDX-License-Identifier: BSD-3-Clause
44

@@ -21,26 +21,7 @@
2121
namespace formats {
2222

2323

24-
std::string available_format =
25-
"coo, csr, ell, ell_mixed, sellp, hybrid, hybrid0, hybrid25, hybrid33, "
26-
"hybrid40, "
27-
"hybrid60, hybrid80, hybridlimit0, hybridlimit25, hybridlimit33, "
28-
"hybridminstorage"
29-
#ifdef HAS_CUDA
30-
", cusparse_csr, cusparse_csrex, cusparse_coo"
31-
", cusparse_csrmp, cusparse_csrmm, cusparse_ell, cusparse_hybrid"
32-
", cusparse_gcsr, cusparse_gcsr2, cusparse_gcoo"
33-
#endif // HAS_CUDA
34-
#ifdef HAS_HIP
35-
", hipsparse_csr, hipsparse_csrmm, hipsparse_coo, hipsparse_ell, "
36-
"hipsparse_hybrid"
37-
#endif // HAS_HIP
38-
#ifdef HAS_DPCPP
39-
", onemkl_csr, onemkl_optimized_csr"
40-
#endif // HAS_DPCPP
41-
".\n";
42-
43-
std::string format_description =
24+
inline std::string format_description =
4425
"coo: Coordinate storage. The GPU kernels use the load-balancing "
4526
"approach\n"
4627
" suggested in Flegar et al.: Overcoming Load Imbalance for\n"
@@ -105,17 +86,11 @@ std::string format_description =
10586
#endif // HAS_DPCPP
10687
;
10788

108-
std::string format_command =
109-
"A comma-separated list of formats to run. Supported values are: " +
110-
available_format + format_description;
111-
11289

11390
} // namespace formats
11491

11592

11693
// the formats command-line argument
117-
DEFINE_string(formats, "coo", formats::format_command.c_str());
118-
11994
DEFINE_int64(ell_imbalance_limit, 100,
12095
"Maximal storage overhead above which ELL benchmarks will be "
12196
"skipped. Negative values mean no limit.");

0 commit comments

Comments
 (0)