Skip to content

Commit

Permalink
[cmake] use cmakedefine01 for hip platform
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelKoch committed Oct 14, 2024
1 parent cc768a5 commit 43a371b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/ginkgo/config.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@

/* 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

0 comments on commit 43a371b

Please sign in to comment.