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 Aug 29, 2024
1 parent 9c42eec commit aa35529
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 aa35529

Please sign in to comment.