resolve undefined symbol: rocblas_create_handle (#15204)

Update migraphx section of onnxruntime_providers.cmake to add the rocblas library
This commit is contained in:
Chris Austen 2023-03-26 06:01:58 -04:00 committed by GitHub
parent 750747d8c9
commit 93e6902790
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"