This is a pure Haskell implementation of tensors, emphasizing simplicity over everything else. It is intended to be used as a model in tests.
The library does not have any system dependencies.
The FFT test suite module depends on
fft
, which in turn depends on
fftw3. On Ubuntu this can be installed using
sudo apt install libfftw3-dev
The cuDNN test suite depends on the NVIDIA cuDNN library. You might need to
add something like this to your cabal.project.local
:
package testing-tensor
extra-lib-dirs: /usr/local/cuda-12.5/lib64
extra-include-dirs: /usr/local/cuda-12.5/include