Skip to content

Commit

Permalink
pass the use_lib_linops variable to next function
Browse files Browse the repository at this point in the history
  • Loading branch information
yhmtsai committed Mar 17, 2021
1 parent 4e5dcca commit 1f4e5f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ endfunction(ginkgo_add_single_benchmark_executable)
# All remaining arguments will be treated as source files
function(ginkgo_add_typed_benchmark_executables name use_lib_linops)
ginkgo_add_single_benchmark_executable(
"${name}" use_lib_linops "GKO_BENCHMARK_USE_DOUBLE_PRECISION" ${ARGN})
"${name}" "${use_lib_linops}" "GKO_BENCHMARK_USE_DOUBLE_PRECISION" ${ARGN})
ginkgo_add_single_benchmark_executable(
"${name}_single" use_lib_linops "GKO_BENCHMARK_USE_SINGLE_PRECISION" ${ARGN})
"${name}_single" "${use_lib_linops}" "GKO_BENCHMARK_USE_SINGLE_PRECISION" ${ARGN})
ginkgo_add_single_benchmark_executable(
"${name}_dcomplex" use_lib_linops "GKO_BENCHMARK_USE_DOUBLE_COMPLEX_PRECISION" ${ARGN})
"${name}_dcomplex" "${use_lib_linops}" "GKO_BENCHMARK_USE_DOUBLE_COMPLEX_PRECISION" ${ARGN})
ginkgo_add_single_benchmark_executable(
"${name}_scomplex" use_lib_linops "GKO_BENCHMARK_USE_SINGLE_COMPLEX_PRECISION" ${ARGN})
"${name}_scomplex" "${use_lib_linops}" "GKO_BENCHMARK_USE_SINGLE_COMPLEX_PRECISION" ${ARGN})
endfunction(ginkgo_add_typed_benchmark_executables)


Expand Down

0 comments on commit 1f4e5f2

Please sign in to comment.