Package | Description |
---|---|
jcuda.nvrtc |
Modifier and Type | Method and Description |
---|---|
static int |
JNvrtc.nvrtcAddNameExpression(nvrtcProgram prog,
String name_expression)
Notes the given name expression denoting a __global__ function or
function template instantiation.
|
static int |
JNvrtc.nvrtcCompileProgram(nvrtcProgram prog,
int numOptions,
String[] options)
Compiles the given program.
|
static int |
JNvrtc.nvrtcCreateProgram(nvrtcProgram prog,
String src,
String name,
int numHeaders,
String[] headers,
String[] includeNames)
Creates an instance of nvrtcProgram with the given input parameters,
and sets the output parameter
prog with it. |
static int |
JNvrtc.nvrtcDestroyProgram(nvrtcProgram prog)
Destroys the given program.
|
static int |
JNvrtc.nvrtcGetLoweredName(nvrtcProgram prog,
String name_expression,
String[] lowered_name)
Extracts the lowered (mangled) name for a __global__ function or
function template instantiation, and updates *lowered_name to point
to it.
|
static int |
JNvrtc.nvrtcGetProgramLog(nvrtcProgram prog,
String[] log)
Stores the log generated by the previous compilation of
prog in the memory pointed by log . |
static int |
JNvrtc.nvrtcGetProgramLogSize(nvrtcProgram prog,
long[] logSizeRet)
Sets
logSizeRet with the size of the log generated by
the previous compilation of prog (including the
trailing NULL ) |
static int |
JNvrtc.nvrtcGetPTX(nvrtcProgram prog,
String[] ptx)
Stores the PTX generated by the previous compilation of
prog in the memory pointed by ptx . |
static int |
JNvrtc.nvrtcGetPTXSize(nvrtcProgram prog,
long[] ptxSizeRet)
Sets
ptxSizeRet with the size of the PTX generated by
the previous compilation of prog (including the
trailing NULL ). |
Copyright © 2020. All rights reserved.