
* 5.6.0 updates
* Rocm 5.6.0 updates
* Style and audit corrections for 5.6
* Patching smi path for tests.
* Style correction
* 5.6.1 updates
* Updated hip tests for ci build failure
Updated hiprand with the release tag
Taken care the review comment rocsolver
* Adding rocm-smi path for 5.6
* Adding the patch file
* Setting library directory uniform
* gl depends on mesa but it should not be llvm variant
* Fix for the issue 39520 by setting CMAKE_INSTALL_LIBDIR=lib
* i1 muls can sometimes happen after SCEV. They resulted in
ISel failures because we were missing the patterns for them.
* 5.6.0 & 5.6.1 updates for migraphx, miopen-hip, mivisionx
* Revert "5.6.0 & 5.6.1 updates for migraphx, miopen-hip, mivisionx"
This reverts commit f54c9c6c67
.
* Revert operator mixup fix
* Splitting compiler-rt-linkage-for-host and operator mixup patch
* Adding missing patch for reverting operator mixup
* 5.6 update for composable-kernel,migraphx,miopen-hip and mivisionx
* Updating rvs, rcd and rccl for 5.6.1. adding comment for llvm patch
49 lines
1.7 KiB
Diff
49 lines
1.7 KiB
Diff
From 612664789657444daa88f8f28a183928e01595d0 Mon Sep 17 00:00:00 2001
|
|
From: Renjith Ravindran <Renjith.RavindranKannath@amd.com>
|
|
Date: Mon, 25 Sep 2023 19:30:19 +0000
|
|
Subject: [PATCH] Adding-half-include-directory-path
|
|
|
|
---
|
|
CMakeLists.txt | 4 +++-
|
|
cmake/PythonModules.cmake | 2 +-
|
|
2 files changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 4601cdd..9cd48ad 100755
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -51,7 +51,7 @@ set(CMAKE_BUILD_RPATH "${CMAKE_BINARY_DIR}/lib")
|
|
project(migraphx)
|
|
find_package(ROCM REQUIRED)
|
|
|
|
-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()
|
|
@@ -272,6 +272,8 @@ add_subdirectory(docs)
|
|
add_subdirectory(test)
|
|
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)
|
|
diff --git a/cmake/PythonModules.cmake b/cmake/PythonModules.cmake
|
|
index b5818ce..b4bfbb3 100755
|
|
--- a/cmake/PythonModules.cmake
|
|
+++ b/cmake/PythonModules.cmake
|
|
@@ -76,7 +76,7 @@ function(py_add_module NAME)
|
|
)
|
|
|
|
endfunction()
|
|
-set(PYTHON_SEARCH_VERSIONS 2.7 3.5 3.6 3.7 3.8 3.9 3.10)
|
|
+set(PYTHON_SEARCH_VERSIONS 3.5 3.6 3.7 3.8 3.9 3.10)
|
|
set(PYTHON_DISABLE_VERSIONS "" CACHE STRING "")
|
|
foreach(PYTHON_DISABLE_VERSION ${PYTHON_DISABLE_VERSIONS})
|
|
list(REMOVE_ITEM PYTHON_SEARCH_VERSIONS ${PYTHON_DISABLE_VERSION})
|
|
--
|
|
2.31.1
|
|
|