Skip to content

Commit d3d338c

Browse files
committed
Prefer librocalution_hip over librocalution
1 parent 12fcce0 commit d3d338c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/discovery/discovery.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@ function __init__()
106106
global librocblas = get_library(lib_prefix * "rocblas"; rocm_path)
107107
global librocsparse = get_library(lib_prefix * "rocsparse"; rocm_path)
108108
global librocsolver = get_library(lib_prefix * "rocsolver"; rocm_path)
109-
global librocalution = get_library(lib_prefix * "rocalution"; rocm_path)
109+
# XXX: librocalution is not used by AMDGPU, but depends on MPI
110+
# this opens up various issues https://juliaparallel.org/MPI.jl/stable/knownissues/#Known-issues
111+
# This fix would be to provide librocalution through JLL, for now we use just "librocalution_hip"
112+
global librocalution = get_library(lib_prefix * "rocalution_hip"; rocm_path)
110113
global librocrand = get_library(lib_prefix * "rocrand"; rocm_path)
111114
global librocfft = get_library(lib_prefix * "rocfft"; rocm_path)
112115
global libMIOpen_path = get_library(lib_prefix * "MIOpen"; rocm_path)

0 commit comments

Comments
 (0)