
* Updates for migraphx 6.0.0 & 6.0.2 * Style check error and audit check error fix * Adding patch for half-include-directory * The parameter GPU_TARGETS is used from 5.7 in migraphx * Adding rocmlir dependency in migraphx and 6.0 updates in rocmlir * Applying upcoming changes to make CK JIT optional and enable compilation on Windows in order to build without ck dependency
24 lines
829 B
Diff
24 lines
829 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index a76fb11..0f589d0 100755
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -57,7 +57,8 @@ else()
|
|
option(MIGRAPHX_ENABLE_PYTHON "Enable python bindings" ON)
|
|
endif()
|
|
|
|
-find_path(HALF_INCLUDE_DIR half.hpp PATH_SUFFIXES half)
|
|
+find_path(HALF_INCLUDE_DIR half.hpp)
|
|
+
|
|
if (NOT HALF_INCLUDE_DIR)
|
|
message(FATAL_ERROR "Could not find half.hpp - Please check that the install path of half.hpp has been added to CMAKE_PREFIX_PATH")
|
|
else()
|
|
@@ -278,7 +279,7 @@ if(BUILD_TESTING)
|
|
add_subdirectory(test)
|
|
endif()
|
|
add_subdirectory(tools)
|
|
-
|
|
+target_include_directories(migraphx PUBLIC "${NLOHMANN_JSON_INCLUDE} ${HALF_INCLUDE_DIR}")
|
|
set(DEST_DIR ${CMAKE_BINARY_DIR})
|
|
file(GLOB backend_files ${CMAKE_SOURCE_DIR}/src/py/backend/*.py)
|
|
file(MAKE_DIRECTORY ${DEST_DIR}/lib/onnx_migraphx)
|