mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-31 23:27:43 +00:00
resolve undefined symbol: rocblas_create_handle (#15204)
Update migraphx section of onnxruntime_providers.cmake to add the rocblas library
This commit is contained in:
parent
750747d8c9
commit
93e6902790
1 changed files with 4 additions and 1 deletions
|
|
@ -1260,7 +1260,10 @@ if (onnxruntime_USE_MIGRAPHX)
|
|||
find_package(hip)
|
||||
find_package(migraphx PATHS ${AMD_MIGRAPHX_HOME})
|
||||
|
||||
set(migraphx_libs migraphx::c hip::host)
|
||||
find_package(miopen)
|
||||
find_package(rocblas)
|
||||
|
||||
set(migraphx_libs migraphx::c hip::host MIOpen roc::rocblas)
|
||||
|
||||
file(GLOB_RECURSE onnxruntime_providers_migraphx_cc_srcs CONFIGURE_DEPENDS
|
||||
"${ONNXRUNTIME_ROOT}/core/providers/migraphx/*.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue