Package | Description |
---|---|
jcuda.driver |
Modifier and Type | Method and Description |
---|---|
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.cuModuleLoadDataEx(CUmodule phMod,
Pointer p,
int numOptions,
int[] options,
Pointer optionValues)
Load a module's data with options.
Note: It is hardly possible to properly pass in the required option values for this method. |
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 © 2014. All Rights Reserved.