Commit 62f3ede8 authored by Ashutosh Mishra's avatar Ashutosh Mishra
Browse files

Adapting the HSA changes

Following the recent changes in HSA for modern cmake and making
this tool work both for dynamic & static libs

Change-Id: I451d218b83189ec20ce929c8065a114b16d61427
parent f36785e6
...@@ -109,7 +109,9 @@ elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86") ...@@ -109,7 +109,9 @@ elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")
endif() endif()
find_package(hsa-runtime64 REQUIRED ) find_package(hsa-runtime64 REQUIRED
PATHS /opt/rocm
)
message( " hsa-runtime64 found @ ${hsa-runtime64_DIR} " ) message( " hsa-runtime64 found @ ${hsa-runtime64_DIR} " )
# Set project requirements # Set project requirements
......
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