Set sram and xnack to ANY
MODIFY
CMakeLists.txt
CMakeLists.txt
@@ -67,15 +67,6 @@ set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
-# Set XNACK flags
-set(XNACK_FLAGS "-mno-xnack -Xarch_gfx900 -mno-sram-ecc -Xarch_gfx906 -msram-ecc -Xarch_gfx908 -msram-ecc")
-
-if(DISABLE_WERROR)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-unused-function ${XNACK_FLAGS}")
-else()
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-unused-function -Werror ${XNACK_FLAGS}")
-endif()
-
# Get dependencies
include(cmake/Dependencies.cmake)

Set sram and xnack to ANY