| Package | Description |
|---|---|
| org.bytedeco.cuda.global |
| Modifier and Type | Method and Description |
|---|---|
static int |
cudart.cuModuleGetFunction(CUfunc_st hfunc,
CUmod_st hmod,
BytePointer name)
\brief Returns a function handle
Returns in \p *hfunc the handle of the function of name \p name located in
module \p hmod.
|
static int |
cudart.cuModuleGetFunction(CUfunc_st hfunc,
CUmod_st hmod,
String name) |
static int |
cudart.cuModuleGetGlobal(long[] dptr,
SizeTPointer bytes,
CUmod_st hmod,
BytePointer name) |
static int |
cudart.cuModuleGetGlobal(long[] dptr,
SizeTPointer bytes,
CUmod_st hmod,
String name) |
static int |
cudart.cuModuleGetGlobal(LongBuffer dptr,
SizeTPointer bytes,
CUmod_st hmod,
BytePointer name) |
static int |
cudart.cuModuleGetGlobal(LongBuffer dptr,
SizeTPointer bytes,
CUmod_st hmod,
String name) |
static int |
cudart.cuModuleGetGlobal(LongPointer dptr,
SizeTPointer bytes,
CUmod_st hmod,
BytePointer name)
\brief Returns a global pointer from a module
Returns in \p *dptr and \p *bytes the base pointer and size of the
global of name \p name located in module \p hmod.
|
static int |
cudart.cuModuleGetGlobal(LongPointer dptr,
SizeTPointer bytes,
CUmod_st hmod,
String name) |
static int |
cudart.cuModuleGetSurfRef(CUsurfref_st pSurfRef,
CUmod_st hmod,
BytePointer name)
\brief Returns a handle to a surface reference
Returns in \p *pSurfRef the handle of the surface reference of name \p name
in the module \p hmod.
|
static int |
cudart.cuModuleGetSurfRef(CUsurfref_st pSurfRef,
CUmod_st hmod,
String name) |
static int |
cudart.cuModuleGetTexRef(CUtexref_st pTexRef,
CUmod_st hmod,
BytePointer name)
\brief Returns a handle to a texture reference
Returns in \p *pTexRef the handle of the texture reference of name \p name
in the module \p hmod.
|
static int |
cudart.cuModuleGetTexRef(CUtexref_st pTexRef,
CUmod_st hmod,
String name) |
static int |
cudart.cuModuleLoad(CUmod_st module,
BytePointer fname)
\brief Loads a compute module
Takes a filename \p fname and loads the corresponding module \p module into
the current context.
|
static int |
cudart.cuModuleLoad(CUmod_st module,
String fname) |
static int |
cudart.cuModuleLoadData(CUmod_st module,
Pointer image)
\brief Load a module's data
Takes a pointer \p image and loads the corresponding module \p module into
the current context.
|
static int |
cudart.cuModuleLoadDataEx(CUmod_st module,
Pointer image,
int numOptions,
int[] options,
Pointer optionValues) |
static int |
cudart.cuModuleLoadDataEx(CUmod_st module,
Pointer image,
int numOptions,
IntBuffer options,
Pointer optionValues) |
static int |
cudart.cuModuleLoadDataEx(CUmod_st module,
Pointer image,
int numOptions,
IntPointer options,
Pointer optionValues) |
static int |
cudart.cuModuleLoadDataEx(CUmod_st module,
Pointer image,
int numOptions,
IntPointer options,
PointerPointer optionValues)
\brief Load a module's data with options
Takes a pointer \p image and loads the corresponding module \p module into
the current context.
|
static int |
cudart.cuModuleLoadFatBinary(CUmod_st module,
Pointer fatCubin)
\brief Load a module's data
Takes a pointer \p fatCubin and loads the corresponding module \p module
into the current context.
|
static int |
cudart.cuModuleUnload(CUmod_st hmod)
\brief Unloads a module
Unloads a module \p hmod from the current context.
|
Copyright © 2019. All rights reserved.