Package | Description |
---|---|
org.bytedeco.cuda.global |
Modifier and Type | Method and Description |
---|---|
static int |
cudart.cuFuncGetModule(CUmod_st hmod,
CUfunc_st hfunc)
\brief Returns a module handle
Returns in \p *hmod the handle of the module that function \p hfunc
is located in.
|
static int |
cudart.cuLibraryGetModule(CUmod_st pMod,
CUlib_st library)
\brief Returns a module handle
Returns in \p pMod the module handle associated with the current context located in
library \p library.
|
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)
Deprecated.
Returns in \p *pSurfRef the handle of the surface reference of name \p name
in the module \p hmod. If no surface reference of that name exists,
::cuModuleGetSurfRef() returns ::CUDA_ERROR_NOT_FOUND.
|
static int |
cudart.cuModuleGetSurfRef(CUsurfref_st pSurfRef,
CUmod_st hmod,
String name)
Deprecated.
|
static int |
cudart.cuModuleGetTexRef(CUtexref_st pTexRef,
CUmod_st hmod,
BytePointer name)
Deprecated.
Returns in \p *pTexRef the handle of the texture reference of name \p name
in the module \p hmod. If no texture reference of that name exists,
::cuModuleGetTexRef() returns ::CUDA_ERROR_NOT_FOUND. This texture reference
handle should not be destroyed, since it will be destroyed when the module
is unloaded.
|
static int |
cudart.cuModuleGetTexRef(CUtexref_st pTexRef,
CUmod_st hmod,
String name)
Deprecated.
|
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 © 2024. All rights reserved.