generatePTX: Generate PTX code to run on a NVIDIA GPU

Description Usage Arguments Value Author(s) References

Description

This function uses LLVM's ability to generate code for a NVIDIA GPU rather than the local CPU.

Usage

1

Arguments

m

the Module to be compiled

Value

a character vector containing the PTX code. This can be written to a file or used directly with the RCUDA package. See http://www.omegahat.org/RCUDA.

Author(s)

Duncan Temple Lang

References

LLVM documentation. NVIDIA and CUDA SDK documentation


duncantl/Rllvm documentation built on July 4, 2018, 11:26 p.m.