codeplaysoftware / portBLAS

An implementation of BLAS using the SYCL open standard.
Apache License 2.0
250 stars 48 forks source link

Update FindSystemBLAS cmake #509

Closed s-Nick closed 5 months ago

s-Nick commented 5 months ago

This PR updates how BLAS library is found and set for testing. With this patch cmake provides better messages to users if openBLAS is not found with some warnings and messages.

s-Nick commented 5 months ago

What happens if find_package(BLAS QUIET) fails? It looks like this will not produce an error here if a BLAS library can't be found.

It will fail to config because System_BLAS it is flag as REQUIRED here for tests and each benchmark looks for System_BLAS in the same way