Commit e20fd649 authored by Michael Kuron's avatar Michael Kuron Committed by GitHub

Fix broken ROCm build

parent 3525b9dd
Pipeline #4228 passed with stages
in 48 minutes and 30 seconds
......@@ -185,7 +185,7 @@ if (WITH_CUDA)
find_package(HIP MODULE)
message(STATUS "Found HIP compiler: ${HIP_HIPCC_EXECUTABLE}")
set(CUDA 1)
list(APPEND HIP_HCC_FLAGS "-Wno-macro-redefined")
list(APPEND HIP_HCC_FLAGS "-Wno-macro-redefined -Wno-duplicate-decl-specifier")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment