generatePTX: Generate PTX code to run on a NVIDIA GPU

generatePTXR Documentation

Generate PTX code to run on a NVIDIA GPU

Description

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

Usage

generatePTX(m)

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 Nov. 23, 2023, 4:24 p.m.