The nvvm package
The NVVM library compiles NVVM IR (a subset of LLVM IR) into PTX code which can then be executed on NVIDIA GPUs. In contrast to the standard NVPTX target built in to the LLVM toolchain, NVVM includes a set of proprietary optimisations which are otherwise only available by compiling CUDA code with the nvcc compiler.
The resulting PTX code can be loaded onto the GPU and executed using the cuda package:
The NVVM library is a compiler component available a part of the CUDA toolkit:
The configure step will look for your CUDA installation in the standard places, and if the nvcc compiler is found in your PATH, relative to that.
This package tested with version 7.5 of the CUDA toolkit.
[Skip to Readme]
|Versions||0.7.5.0, 0.7.5.1, 0.7.5.2|
|Dependencies||base (>=4.6 && <5), bytestring, cuda (>=0.7), template-haskell [details]|
|Copyright|| Trevor L. McDonell|
|Author||Trevor L. McDonell|
|Maintainer||Trevor L. McDonell <email@example.com>|
|Source repository||head: git clone https://github.com/tmcdonell/nvvm
this: git clone https://github.com/tmcdonell/nvvm(tag v0.7.5.2)
|Uploaded||Mon Apr 10 09:27:39 UTC 2017 by TrevorMcDonell|
|Downloads||125 total (14 in the last 30 days)|
|Status||Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI
For package maintainers and hackage trustees