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


doktorschiwago/Rllvm2 documentation built on May 15, 2019, 9:42 a.m.