Package | Description |
---|---|
jcuda.driver |
Contains the classes related to the JCuda driver API.
|
Modifier and Type | Method and Description |
---|---|
static int |
JCudaDriver.cuFuncGetModule(CUmodule hmod,
CUfunction hfunc)
Returns a module handle
Returns in *hmod the handle of the module that function hfunc
is located in.
|
static int |
JCudaDriver.cuModuleGetFunction(CUfunction hfunc,
CUmodule hmod,
String name)
Returns a function handle.
|
static int |
JCudaDriver.cuModuleGetGlobal(CUdeviceptr dptr,
long[] bytes,
CUmodule hmod,
String name)
Returns a global pointer from a module.
|
static int |
JCudaDriver.cuModuleGetSurfRef(CUsurfref pSurfRef,
CUmodule hmod,
String name)
Returns a handle to a surface reference.
|
static int |
JCudaDriver.cuModuleGetTexRef(CUtexref pTexRef,
CUmodule hmod,
String name)
Returns a handle to a texture reference.
|
static int |
JCudaDriver.cuModuleLoad(CUmodule module,
String fname)
Loads a compute module.
|
static int |
JCudaDriver.cuModuleLoadData(CUmodule module,
byte[] image)
Load a module's data.
|
static int |
JCudaDriver.cuModuleLoadData(CUmodule module,
String string)
A wrapper function for
JCudaDriver.cuModuleLoadData(CUmodule, byte[])
that converts the given string into a zero-terminated byte array. |
static int |
JCudaDriver.cuModuleLoadDataEx(CUmodule phMod,
Pointer p,
int numOptions,
int[] options,
Pointer optionValues)
Load a module's data with options.
|
static int |
JCudaDriver.cuModuleLoadDataEx(CUmodule phMod,
String string,
int numOptions,
int[] options,
Pointer optionValues)
A wrapper function for
JCudaDriver.cuModuleLoadDataEx(CUmodule, Pointer, int, int[], Pointer)
which allows passing in the image data as a string. |
static int |
JCudaDriver.cuModuleLoadDataJIT(CUmodule module,
Pointer pointer,
JITOptions jitOptions)
A wrapper function for
JCudaDriver.cuModuleLoadDataEx(CUmodule, Pointer, int, int[], Pointer)
which allows passing in the options for the JIT compiler, and obtaining
the output of the JIT compiler via a JITOptions object. |
static int |
JCudaDriver.cuModuleLoadFatBinary(CUmodule module,
byte[] fatCubin)
Load a module's data.
|
static int |
JCudaDriver.cuModuleUnload(CUmodule hmod)
Unloads a module.
|
Copyright © 2020. All rights reserved.