@@ -50,6 +50,7 @@ function(ginkgo_benchmark_onemkl_linops type def)
50
50
endfunction ()
51
51
52
52
53
+ # gersemi: off
53
54
# Generates an executable for one precision. Each executable will be linked to
54
55
# `ginkgo`, `gflags` and `nlohmann-json`.
55
56
# Note: This should only be used by `ginkgo_add_typed_benchmark_executables`
@@ -60,6 +61,7 @@ endfunction()
60
61
# \param macro_def preprocessor macro name that will be defined during
61
62
# building (to compile for a specific type)
62
63
# All remaining arguments will be treated as source files
64
+ # gersemi: on
63
65
function (ginkgo_add_single_benchmark_executable name use_lib_linops macro_def type )
64
66
add_executable ("${name} " ${ARGN} )
65
67
target_link_libraries ("${name} " ginkgo gflags nlohmann_json::nlohmann_json)
@@ -99,13 +101,15 @@ function(ginkgo_add_single_benchmark_executable name use_lib_linops macro_def ty
99
101
endfunction (ginkgo_add_single_benchmark_executable)
100
102
101
103
104
+ # gersemi: off
102
105
# Generates an executable for each supported precision. Each executable will be
103
106
# linked to `ginkgo`, `gflags` and `nlohmann-json`.
104
107
#
105
108
# \param name base-name for the executable to create
106
109
# \param use_lib_linops Boolean indicating if linking against hipsparse/cusparse
107
110
# is necessary
108
111
# All remaining arguments will be treated as source files
112
+ # gersemi: on
109
113
function (ginkgo_add_typed_benchmark_executables name use_lib_linops)
110
114
ginkgo_add_single_benchmark_executable(
111
115
"${name} " "${use_lib_linops} " "GKO_BENCHMARK_USE_DOUBLE_PRECISION" "d" ${ARGN} )
0 commit comments