Skip to content

Commit

Permalink
Make sure to include -lrocblas on amd
Browse files Browse the repository at this point in the history
Fixes github#51
  • Loading branch information
sthibaul committed Jul 1, 2024
1 parent b003de8 commit c2f8adb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2020,6 +2020,9 @@ if test x$have_valid_hip = xyes; then
STARPU_HIPBLAS_LDFLAGS="-L$HIPBLAS_LIB_DIR"
fi
STARPU_HIPBLAS_LDFLAGS="$STARPU_HIPBLAS_LDFLAGS -lhipblas"
if test "$HIP_PLATFORM" = "amd"; then
STARPU_HIPBLAS_LDFLAGS="$STARPU_HIPBLAS_LDFLAGS -lrocblas"
fi
else
AC_MSG_WARN(['hipblas' not found, disabling HIP examples])
fi
Expand Down

0 comments on commit c2f8adb

Please sign in to comment.