icl-utk-edu / lapackpp

LAPACK++ is a C++ wrapper around CPU and GPU LAPACK and LAPACK-like linear algebra libraries, developed as part of the SLATE project.
https://icl.utk.edu/slate/
BSD 3-Clause "New" or "Revised" License
51 stars 14 forks source link

search for ROCm or CUDA #32

Closed mgates3 closed 1 year ago

mgates3 commented 1 year ago

Instead of requiring the user to add CUDA and ROCm to CFLAGS, LIBRARY_PATH, LD_LIBRARY_PATH, this does a quick search for them and adds the appropriate -I, -L, and -rpath flags. (CMake already does this.)

Similar changes are in BLAS++ PR 51 and SLATE PR 69.