|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CUfunction | |
---|---|
jcuda.driver | Contains the classes related to the JCuda driver API. |
Uses of CUfunction in jcuda.driver |
---|
Methods in jcuda.driver with parameters of type CUfunction | |
---|---|
static int |
JCudaDriver.cuFuncGetAttribute(int[] pi,
int attrib,
CUfunction func)
Returns information about a function. |
static int |
JCudaDriver.cuFuncSetBlockShape(CUfunction hfunc,
int x,
int y,
int z)
Sets the block-dimensions for the function. |
static int |
JCudaDriver.cuFuncSetCacheConfig(CUfunction hfunc,
int config)
Sets the preferred cache configuration for a device function. |
static int |
JCudaDriver.cuFuncSetSharedMemConfig(CUfunction hfunc,
int config)
Sets the shared memory configuration for a device function. |
static int |
JCudaDriver.cuFuncSetSharedSize(CUfunction hfunc,
int bytes)
Sets the dynamic shared-memory size for the function. |
static int |
JCudaDriver.cuLaunch(CUfunction f)
Launches a CUDA function. |
static int |
JCudaDriver.cuLaunchGrid(CUfunction f,
int grid_width,
int grid_height)
Launches a CUDA function. |
static int |
JCudaDriver.cuLaunchGridAsync(CUfunction f,
int grid_width,
int grid_height,
CUstream hStream)
Launches a CUDA function. |
static int |
JCudaDriver.cuLaunchKernel(CUfunction f,
int gridDimX,
int gridDimY,
int gridDimZ,
int blockDimX,
int blockDimY,
int blockDimZ,
int sharedMemBytes,
CUstream hStream,
Pointer kernelParams,
Pointer extra)
Launches a CUDA function. |
static int |
JCudaDriver.cuModuleGetFunction(CUfunction hfunc,
CUmodule hmod,
java.lang.String name)
Returns a function handle. |
static int |
JCudaDriver.cuParamSetf(CUfunction hfunc,
int offset,
float value)
Adds a floating-point parameter to the function's argument list. |
static int |
JCudaDriver.cuParamSeti(CUfunction hfunc,
int offset,
int value)
Adds an integer parameter to the function's argument list. |
static int |
JCudaDriver.cuParamSetSize(CUfunction hfunc,
int numbytes)
Sets the parameter size for the function. |
static int |
JCudaDriver.cuParamSetTexRef(CUfunction hfunc,
int texunit,
CUtexref hTexRef)
Adds a texture-reference to the function's argument list. |
static int |
JCudaDriver.cuParamSetv(CUfunction hfunc,
int offset,
Pointer ptr,
int numbytes)
Adds arbitrary data to the function's argument list. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |