We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 579af47 commit a803a50Copy full SHA for a803a50
cmake/alpakaCommon.cmake
@@ -658,6 +658,10 @@ if(ALPAKA_ACC_GPU_HIP_ENABLE)
658
MESSAGE(FATAL_ERROR "Could not find rocRAND (also searched in: HIP_ROOT_DIR=${HIP_ROOT_DIR}/rocrand).")
659
endif()
660
661
+ if(ALPAKA_HIP_FAST_MATH)
662
+ list(APPEND HIP_HIPCC_FLAGS -ffast-math)
663
+ endif()
664
+
665
# possible architectures can be found https://github.com/llvm/llvm-project/blob/master/clang/lib/Basic/Cuda.cpp#L65
666
# 900 -> AMD Vega64
667
# 902 -> AMD Vega 10
0 commit comments