accelerate-llvm-ptx
Version 1.3.0.0 revision 0 uploaded by TrevorMcDonell.
Package meta
- Synopsis
- Accelerate backend for NVIDIA GPUs
- Description
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.
- Dependencies
Haskell dependencies are available from Hackage. The following external libraries are alse required:
- Installing LLVM
Homebrew
Example using Homebrew on macOS:
brew install llvm-hs/llvm/llvm-9
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:
apt-get install llvm-9-dev
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 thelibLLVM
shared library will be built. Also ensure that theLLVM_TARGETS_TO_BUILD
option includes theNVPTX
target (if not specified all targets are built).- Author
- Trevor L. McDonell
- Bug reports
- https://github.com/AccelerateHS/accelerate/issues
- Category
- Accelerate, Compilers/Interpreters, Concurrency, Data, Parallelism
- Copyright
- n/a
- Homepage
- n/a
- Maintainer
- Trevor L. McDonell <trevor.mcdonell@gmail.com>
- Package URL
- n/a
- Stability
- n/a