Skip to content

Commit

Permalink
[cmake] consistently use cmakedefine01
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelKoch committed Aug 29, 2024
1 parent 9c42eec commit dea99db
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions include/ginkgo/config.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,27 @@


/* Is Itanium ABI available? */
#cmakedefine GKO_HAVE_CXXABI_H
#cmakedefine01 GKO_HAVE_CXXABI_H


/* Should we use all optimizations for Jacobi? */
#cmakedefine GINKGO_JACOBI_FULL_OPTIMIZATIONS
#cmakedefine01 GINKGO_JACOBI_FULL_OPTIMIZATIONS


/* Should we compile Ginkgo specifically to tune values? */
#cmakedefine GINKGO_BENCHMARK_ENABLE_TUNING
#cmakedefine01 GINKGO_BENCHMARK_ENABLE_TUNING


/* Should we compile mixed-precision kernels for Ginkgo? */
#cmakedefine GINKGO_MIXED_PRECISION
#cmakedefine01 GINKGO_MIXED_PRECISION


/* What is HIP compiled for, hcc or nvcc? */
// clang-format off
#define GINKGO_HIP_PLATFORM_HCC @GINKGO_HIP_PLATFORM_HCC@
#cmakedefine01 GINKGO_HIP_PLATFORM_HCC


#define GINKGO_HIP_PLATFORM_NVCC @GINKGO_HIP_PLATFORM_NVCC@
#cmakedefine01 GINKGO_HIP_PLATFORM_NVCC
// clang-format on


Expand Down Expand Up @@ -108,7 +108,7 @@

/* Do we need to use blocking communication in our SpMV? */
// clang-format off
#cmakedefine GINKGO_FORCE_SPMV_BLOCKING_COMM
#cmakedefine01 GINKGO_FORCE_SPMV_BLOCKING_COMM
// clang-format on


Expand Down

0 comments on commit dea99db

Please sign in to comment.