| Package | Description |
|---|---|
| org.bytedeco.cuda.global |
| Modifier and Type | Method and Description |
|---|---|
static int |
cudart.cudaLibraryEnumerateKernels(CUkern_st kernels,
int numKernels,
CUlib_st lib)
\brief Retrieve the kernel handles within a library.
|
static int |
cudart.cudaLibraryGetGlobal(PointerPointer dptr,
SizeTPointer bytes,
CUlib_st library,
BytePointer name)
\brief Returns a global device pointer
Returns in \p *dptr and \p *bytes the base pointer and size of the global with
name \p name for the requested library \p library and the current device.
|
static int |
cudart.cudaLibraryGetGlobal(Pointer dptr,
SizeTPointer bytes,
CUlib_st library,
BytePointer name) |
static int |
cudart.cudaLibraryGetGlobal(Pointer dptr,
SizeTPointer bytes,
CUlib_st library,
String name) |
static int |
cudart.cudaLibraryGetKernel(CUkern_st pKernel,
CUlib_st library,
BytePointer name)
\brief Returns a kernel handle
Returns in \p pKernel the handle of the kernel with name \p name located in library \p library.
|
static int |
cudart.cudaLibraryGetKernel(CUkern_st pKernel,
CUlib_st library,
String name) |
static int |
cudart.cudaLibraryGetKernelCount(int[] count,
CUlib_st lib) |
static int |
cudart.cudaLibraryGetKernelCount(IntBuffer count,
CUlib_st lib) |
static int |
cudart.cudaLibraryGetKernelCount(IntPointer count,
CUlib_st lib)
\brief Returns the number of kernels within a library
Returns in \p count the number of kernels in \p lib.
|
static int |
cudart.cudaLibraryGetManaged(PointerPointer dptr,
SizeTPointer bytes,
CUlib_st library,
BytePointer name)
\brief Returns a pointer to managed memory
Returns in \p *dptr and \p *bytes the base pointer and size of the managed memory with
name \p name for the requested library \p library.
|
static int |
cudart.cudaLibraryGetManaged(Pointer dptr,
SizeTPointer bytes,
CUlib_st library,
BytePointer name) |
static int |
cudart.cudaLibraryGetManaged(Pointer dptr,
SizeTPointer bytes,
CUlib_st library,
String name) |
static int |
cudart.cudaLibraryGetUnifiedFunction(Pointer fptr,
CUlib_st library,
BytePointer symbol) |
static int |
cudart.cudaLibraryGetUnifiedFunction(Pointer fptr,
CUlib_st library,
String symbol) |
static int |
cudart.cudaLibraryGetUnifiedFunction(PointerPointer fptr,
CUlib_st library,
BytePointer symbol)
\brief Returns a pointer to a unified function
Returns in \p *fptr the function pointer to a unified function denoted by \p symbol.
|
static int |
cudart.cudaLibraryLoadData(CUlib_st library,
Pointer code,
int[] jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
int[] libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cudaLibraryLoadData(CUlib_st library,
Pointer code,
IntBuffer jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
IntBuffer libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cudaLibraryLoadData(CUlib_st library,
Pointer code,
IntPointer jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
IntPointer libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cudaLibraryLoadData(CUlib_st library,
Pointer code,
IntPointer jitOptions,
PointerPointer jitOptionsValues,
int numJitOptions,
IntPointer libraryOptions,
PointerPointer libraryOptionValues,
int numLibraryOptions)
\brief Load a library with specified code and options
Takes a pointer \p code and loads the corresponding library \p library based on
the application defined library loading mode:
- If module loading is set to EAGER, via the environment variables described in "Module loading",
\p library is loaded eagerly into all contexts at the time of the call and future contexts
at the time of creation until the library is unloaded with ::cudaLibraryUnload().
|
static int |
cudart.cudaLibraryLoadFromFile(CUlib_st library,
BytePointer fileName,
int[] jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
int[] libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cudaLibraryLoadFromFile(CUlib_st library,
BytePointer fileName,
IntBuffer jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
IntBuffer libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cudaLibraryLoadFromFile(CUlib_st library,
BytePointer fileName,
IntPointer jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
IntPointer libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cudaLibraryLoadFromFile(CUlib_st library,
BytePointer fileName,
IntPointer jitOptions,
PointerPointer jitOptionsValues,
int numJitOptions,
IntPointer libraryOptions,
PointerPointer libraryOptionValues,
int numLibraryOptions)
\brief Load a library with specified file and options
Takes a pointer \p code and loads the corresponding library \p library based on
the application defined library loading mode:
- If module loading is set to EAGER, via the environment variables described in "Module loading",
\p library is loaded eagerly into all contexts at the time of the call and future contexts
at the time of creation until the library is unloaded with ::cudaLibraryUnload().
|
static int |
cudart.cudaLibraryLoadFromFile(CUlib_st library,
String fileName,
int[] jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
int[] libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cudaLibraryLoadFromFile(CUlib_st library,
String fileName,
IntBuffer jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
IntBuffer libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cudaLibraryLoadFromFile(CUlib_st library,
String fileName,
IntPointer jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
IntPointer libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cudaLibraryUnload(CUlib_st library)
\brief Unloads a library
Unloads the library specified with \p library
|
static int |
cudart.cuKernelGetLibrary(CUlib_st pLib,
CUkern_st kernel)
\brief Returns a library handle
Returns in \p pLib the handle of the library for the requested kernel \p kernel
|
static int |
cudart.cuLibraryEnumerateKernels(CUkern_st kernels,
int numKernels,
CUlib_st lib)
\brief Retrieve the kernel handles within a library.
|
static int |
cudart.cuLibraryGetGlobal(long[] dptr,
SizeTPointer bytes,
CUlib_st library,
BytePointer name) |
static int |
cudart.cuLibraryGetGlobal(long[] dptr,
SizeTPointer bytes,
CUlib_st library,
String name) |
static int |
cudart.cuLibraryGetGlobal(LongBuffer dptr,
SizeTPointer bytes,
CUlib_st library,
BytePointer name) |
static int |
cudart.cuLibraryGetGlobal(LongBuffer dptr,
SizeTPointer bytes,
CUlib_st library,
String name) |
static int |
cudart.cuLibraryGetGlobal(LongPointer dptr,
SizeTPointer bytes,
CUlib_st library,
BytePointer name)
\brief Returns a global device pointer
Returns in \p *dptr and \p *bytes the base pointer and size of the global with
name \p name for the requested library \p library and the current context.
|
static int |
cudart.cuLibraryGetGlobal(LongPointer dptr,
SizeTPointer bytes,
CUlib_st library,
String name) |
static int |
cudart.cuLibraryGetKernel(CUkern_st pKernel,
CUlib_st library,
BytePointer name)
\brief Returns a kernel handle
Returns in \p pKernel the handle of the kernel with name \p name located in library \p library.
|
static int |
cudart.cuLibraryGetKernel(CUkern_st pKernel,
CUlib_st library,
String name) |
static int |
cudart.cuLibraryGetKernelCount(int[] count,
CUlib_st lib) |
static int |
cudart.cuLibraryGetKernelCount(IntBuffer count,
CUlib_st lib) |
static int |
cudart.cuLibraryGetKernelCount(IntPointer count,
CUlib_st lib)
\brief Returns the number of kernels within a library
Returns in \p count the number of kernels in \p lib.
|
static int |
cudart.cuLibraryGetManaged(long[] dptr,
SizeTPointer bytes,
CUlib_st library,
BytePointer name) |
static int |
cudart.cuLibraryGetManaged(long[] dptr,
SizeTPointer bytes,
CUlib_st library,
String name) |
static int |
cudart.cuLibraryGetManaged(LongBuffer dptr,
SizeTPointer bytes,
CUlib_st library,
BytePointer name) |
static int |
cudart.cuLibraryGetManaged(LongBuffer dptr,
SizeTPointer bytes,
CUlib_st library,
String name) |
static int |
cudart.cuLibraryGetManaged(LongPointer dptr,
SizeTPointer bytes,
CUlib_st library,
BytePointer name)
\brief Returns a pointer to managed memory
Returns in \p *dptr and \p *bytes the base pointer and size of the managed memory with
name \p name for the requested library \p library.
|
static int |
cudart.cuLibraryGetManaged(LongPointer dptr,
SizeTPointer bytes,
CUlib_st library,
String name) |
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.cuLibraryGetUnifiedFunction(Pointer fptr,
CUlib_st library,
BytePointer symbol) |
static int |
cudart.cuLibraryGetUnifiedFunction(Pointer fptr,
CUlib_st library,
String symbol) |
static int |
cudart.cuLibraryGetUnifiedFunction(PointerPointer fptr,
CUlib_st library,
BytePointer symbol)
\brief Returns a pointer to a unified function
Returns in \p *fptr the function pointer to a unified function denoted by \p symbol.
|
static int |
cudart.cuLibraryLoadData(CUlib_st library,
Pointer code,
int[] jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
int[] libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cuLibraryLoadData(CUlib_st library,
Pointer code,
IntBuffer jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
IntBuffer libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cuLibraryLoadData(CUlib_st library,
Pointer code,
IntPointer jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
IntPointer libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cuLibraryLoadData(CUlib_st library,
Pointer code,
IntPointer jitOptions,
PointerPointer jitOptionsValues,
int numJitOptions,
IntPointer libraryOptions,
PointerPointer libraryOptionValues,
int numLibraryOptions)
\brief Load a library with specified code and options
Takes a pointer \p code and loads the corresponding library \p library based on
the application defined library loading mode:
- If module loading is set to EAGER, via the environment variables described in "Module loading",
\p library is loaded eagerly into all contexts at the time of the call and future contexts
at the time of creation until the library is unloaded with ::cuLibraryUnload().
|
static int |
cudart.cuLibraryLoadFromFile(CUlib_st library,
BytePointer fileName,
int[] jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
int[] libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cuLibraryLoadFromFile(CUlib_st library,
BytePointer fileName,
IntBuffer jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
IntBuffer libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cuLibraryLoadFromFile(CUlib_st library,
BytePointer fileName,
IntPointer jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
IntPointer libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cuLibraryLoadFromFile(CUlib_st library,
BytePointer fileName,
IntPointer jitOptions,
PointerPointer jitOptionsValues,
int numJitOptions,
IntPointer libraryOptions,
PointerPointer libraryOptionValues,
int numLibraryOptions)
\brief Load a library with specified file and options
Takes a pointer \p code and loads the corresponding library \p library based on
the application defined library loading mode:
- If module loading is set to EAGER, via the environment variables described in "Module loading",
\p library is loaded eagerly into all contexts at the time of the call and future contexts
at the time of creation until the library is unloaded with ::cuLibraryUnload().
|
static int |
cudart.cuLibraryLoadFromFile(CUlib_st library,
String fileName,
int[] jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
int[] libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cuLibraryLoadFromFile(CUlib_st library,
String fileName,
IntBuffer jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
IntBuffer libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cuLibraryLoadFromFile(CUlib_st library,
String fileName,
IntPointer jitOptions,
Pointer jitOptionsValues,
int numJitOptions,
IntPointer libraryOptions,
Pointer libraryOptionValues,
int numLibraryOptions) |
static int |
cudart.cuLibraryUnload(CUlib_st library)
\brief Unloads a library
Unloads the library specified with \p library
|
Copyright © 2025. All rights reserved.