mfem: add hipblas dependency for superlu-dist (#40981)
This commit is contained in:
parent
b5e2f23b6c
commit
b17d7cd0e6
@ -967,6 +967,9 @@ def find_optional_library(name, prefix):
|
|||||||
if "^rocthrust" in spec and not spec["hip"].external:
|
if "^rocthrust" in spec and not spec["hip"].external:
|
||||||
# petsc+rocm needs the rocthrust header path
|
# petsc+rocm needs the rocthrust header path
|
||||||
hip_headers += spec["rocthrust"].headers
|
hip_headers += spec["rocthrust"].headers
|
||||||
|
if "^hipblas" in spec and not spec["hip"].external:
|
||||||
|
# superlu-dist+rocm needs the hipblas header path
|
||||||
|
hip_headers += spec["hipblas"].headers
|
||||||
if "%cce" in spec:
|
if "%cce" in spec:
|
||||||
# We assume the proper Cray CCE module (cce) is loaded:
|
# We assume the proper Cray CCE module (cce) is loaded:
|
||||||
craylibs_path = env["CRAYLIBS_" + machine().upper()]
|
craylibs_path = env["CRAYLIBS_" + machine().upper()]
|
||||||
|
Loading…
Reference in New Issue
Block a user