"...composable_kernel_onnxruntime.git" did not exist on "e823d518cb46ad61ddb3c70eac8529e0a58af1f8"
Commit f7346391 authored by Artur Wojcik's avatar Artur Wojcik
Browse files

cmake_gpu_hiprtc

parent f12676f6
...@@ -244,8 +244,10 @@ if(MIGRAPHX_ENABLE_MLIR) ...@@ -244,8 +244,10 @@ if(MIGRAPHX_ENABLE_MLIR)
endif() endif()
if(MIGRAPHX_USE_HIPRTC) if(MIGRAPHX_USE_HIPRTC)
find_package(hiprtc REQUIRED)
message(STATUS "MIGraphX is using hipRTC") message(STATUS "MIGraphX is using hipRTC")
target_compile_definitions(migraphx_gpu PRIVATE -DMIGRAPHX_USE_HIPRTC=1) target_compile_definitions(migraphx_gpu PRIVATE -DMIGRAPHX_USE_HIPRTC=1)
target_link_libraries(migraphx_gpu PUBLIC hiprtc::hiprtc)
else() else()
message(STATUS "MIGraphX is using HIP Clang") message(STATUS "MIGraphX is using HIP Clang")
......
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