mfem: add missing cublas for cuda support (#35608)
This commit is contained in:
parent
0d4f9b26b8
commit
81765e0278
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ def find_optional_library(name, prefix):
|
||||||
all_hypre_libs = hypre.libs + hypre["lapack"].libs + hypre["blas"].libs
|
all_hypre_libs = hypre.libs + hypre["lapack"].libs + hypre["blas"].libs
|
||||||
hypre_gpu_libs = ""
|
hypre_gpu_libs = ""
|
||||||
if "+cuda" in hypre:
|
if "+cuda" in hypre:
|
||||||
hypre_gpu_libs = " -lcusparse -lcurand"
|
hypre_gpu_libs = " -lcusparse -lcurand -lcublas"
|
||||||
elif "+rocm" in hypre:
|
elif "+rocm" in hypre:
|
||||||
hypre_rocm_libs = LibraryList([])
|
hypre_rocm_libs = LibraryList([])
|
||||||
if "^rocsparse" in hypre:
|
if "^rocsparse" in hypre:
|
||||||
|
|
Loading…
Reference in a new issue