Monthly Downloads: 31
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Foreign    
Latest version: v0.10.0.0

nvvm alternatives and similar packages

Based on the "Foreign" category.
Alternatively, view nvvm alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of nvvm or a related project?

Add another 'Foreign' Package


Haskell FFI Bindings to NVVM

Travis build status AppVeyor build status Stackage LTS Stackage Nightly Hackage

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. On the other hand, the version of LLVM that NVVM is internally based on typically lags the public release by several generations (years), so these secret optimisations may or may not be worthwhile to your application.

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.