@hackage accelerate-blas0.1.0.0
Numeric Linear Algebra in Accelerate
Categories
License
BSD-3-Clause
Maintainer
tmcdonell@cse.unsw.edu.au
Links
Versions
Installation
Dependencies (14)
- accelerate >=1.0 && <1.2
- accelerate-llvm >=1.1 && <1.2
- accelerate-llvm-native >=1.1 && <1.2
- accelerate-llvm-ptx >=1.1 && <1.2
- base >=4.7 && <4.11
- blas-hs >=0.1 Show all…
Dependents (1)
@hackage/acme-everything
Package Flags
llvm-cpu
(on by default)
Enable the LLVM backend for multicore CPUs
llvm-ptx
(on by default)
Enable the LLVM PTX backend for NVIDIA GPUs
Numeric linear algebra in Accelerate
Linear systems, matrix decompositions, and other numerical computations for use in Accelerate. Most operations are implemented efficiently via FFI calls to BLAS and LAPACK. For details on Accelerate, refer to the main repository.
Please get in touch to let me know which missing operations you would like see added to the library. Contributions are also welcome!
FFI bindings
-
accelerate-llvm-native: FFI bindings are provided by the blas-hs package, which has several options for which underlying BLAS library to link against; see that package for setup details.
-
accelerate-llvm-ptx: FFI bindings to the NVIDIA cuBLAS library.
Complex numbers
Due to Accelerate's struct-of-array representation of complex numbers, compared to the C-style array-of-struct representation, calling foreign implementations of complex-valued operations entails an extra data marshalling step.