Skip to content
This repository was archived by the owner on Nov 10, 2017. It is now read-only.

System blas/lapack #27

Closed
fommil opened this issue Aug 13, 2013 · 13 comments
Closed

System blas/lapack #27

fommil opened this issue Aug 13, 2013 · 13 comments

Comments

@fommil
Copy link
Owner

fommil commented Aug 13, 2013

for OS X this would be veclib, for Linux this would be /usr/lib/libblas.so etc (allowing ATLAS to be swapped in).

The biggest stumbling block here is working out if all the routines are implemented by the system library or not. We might have to pick the lowest common denominator for ease of packaging.

@fommil
Copy link
Owner Author

fommil commented Sep 3, 2013

maven native plugin seems to ignore the excludes tag. sigh

@fommil
Copy link
Owner Author

fommil commented Sep 3, 2013

@fommil
Copy link
Owner Author

fommil commented Sep 3, 2013

I worked around it AND got performance charts for OS X veclib as the backend :-D DGEMM results are impressive but DGETRI is a bit disappointing compared to the pure C version.

@fommil
Copy link
Owner Author

fommil commented Sep 4, 2013

yay! it was just a regression in the test parameters

@fommil
Copy link
Owner Author

fommil commented Sep 4, 2013

@dlwh snapshots are now available with veclib support in OS X (Linux to come soon, I'm not sure about Windows... will have to investigate further) as discussed in scalanlp/breeze#85

@dlwh
Copy link

dlwh commented Sep 4, 2013

great thanks!

On Wed, Sep 4, 2013 at 2:10 PM, Sam Halliday [email protected]:

@dlwh https://github.com/dlwh snapshots are now available with veclib
support in OS X (Linux to come soon, I'm not sure about Windows... will
have to investigate further) as discussed in scalanlp/breeze#85scalanlp/breeze#85


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-23824263
.

@fommil
Copy link
Owner Author

fommil commented Sep 5, 2013

@dlwh this is insane, I'm seeing x10 performance for larger DBGEMM and DGETRI etc vs even the native ref

@fommil
Copy link
Owner Author

fommil commented Sep 5, 2013

now windows builds available... but due to limitations in the availability of system BLAS/LAPACK, I had to link against libopenblas.

@fommil fommil closed this as completed Sep 5, 2013
@fommil
Copy link
Owner Author

fommil commented Sep 5, 2013

snapshots available on sonatype

@fommil
Copy link
Owner Author

fommil commented Sep 5, 2013

reopening to get proper windows linking against a libblas3.dll and liblapack3.dll and cuBLAS support documented for OS X.

@fommil
Copy link
Owner Author

fommil commented Sep 6, 2013

I have simple instructions now to build our own CBLAS/LAPACK to link against.

@fommil
Copy link
Owner Author

fommil commented Sep 6, 2013

getting the following working are part of this ticket:

https://developer.nvidia.com/cublas

https://github.com/clMathLibraries/clBLAS

@fommil
Copy link
Owner Author

fommil commented Sep 6, 2013

tested builds on osx, linux 32/64, win 32/64 and Raspberry Pi :-D

Unfortunately, the OpenCL BLAS implementations are not quite there yet... but in theory end users can set it up long after we release (all they need to do is to implement CBLAS).

@fommil fommil closed this as completed Sep 6, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants