accelerate-llvm-ptx (hackage): This library implements a backend for the Accelerate language which generates LLVM-IR targeting CUDA capable GPUs. For further information, refer to the main accelerate package.  Haskell dependencies are available from Hackage. The following external libraries are alse required:  LLVM  CUDA  Homebrew  Example using Homebrew on macOS:  Debian & Ubuntu  For Debian/Ubuntu based Linux distributions, the LLVM.org website provides binary distribution packages. Check apt.llvm.org for instructions for adding the correct package database for your OS version, and then:  Building from source  If your OS does not have an appropriate LLVM distribution available, you can also build from source. Detailed build instructions are available on LLVM.org. Make sure to include the cmake build options -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON so that the libLLVM shared library will be built. Also ensure that the LLVM_TARGETS_TO_BUILD option includes the NVPTX target (if not specified all targets are built).
Keywords: accelerate|bsd3|compilers-interpreters|concurrency|data|library|parallelism