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]
|Dependencies||base (>=4.6 && <5), bytestring, cuda (>=0.7), template-haskell [details]|
|Copyright|| Trevor L. McDonell|
|Author||Trevor L. McDonell|
|Maintainer||Trevor L. McDonell <firstname.lastname@example.org>|
|Source repository||this: git clone https://github.com/tmcdonell/nvvm(tag 0.7.5.1)|
|Uploaded||Tue Nov 8 04:04:02 UTC 2016 by TrevorMcDonell|
|Downloads||42 total (3 in the last 30 days)|
|Status||Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees