static int |
cudart.cuFuncGetAttribute(int[] pi,
int attrib,
CUfunc_st hfunc) |
|
static int |
cudart.cuFuncGetAttribute(IntBuffer pi,
int attrib,
CUfunc_st hfunc) |
|
static int |
cudart.cuFuncGetAttribute(IntPointer pi,
int attrib,
CUfunc_st hfunc) |
\brief Returns information about a function
Returns in \p *pi the integer value of the attribute \p attrib on the kernel
given by \p hfunc.
|
static int |
cudart.cuFuncSetAttribute(CUfunc_st hfunc,
int attrib,
int value) |
\brief Sets information about a function
This call sets the value of a specified attribute \p attrib on the kernel given
by \p hfunc to an integer value specified by \p val
This function returns CUDA_SUCCESS if the new value of the attribute could be
successfully set.
|
static int |
cudart.cuFuncSetBlockShape(CUfunc_st hfunc,
int x,
int y,
int z) |
Deprecated.
|
static int |
cudart.cuFuncSetCacheConfig(CUfunc_st hfunc,
int config) |
\brief Sets the preferred cache configuration for a device function
On devices where the L1 cache and shared memory use the same hardware
resources, this sets through \p config the preferred cache configuration for
the device function \p hfunc.
|
static int |
cudart.cuFuncSetSharedMemConfig(CUfunc_st hfunc,
int config) |
\brief Sets the shared memory configuration for a device function.
|
static int |
cudart.cuFuncSetSharedSize(CUfunc_st hfunc,
int bytes) |
Deprecated.
|
static int |
cudart.cuLaunch(CUfunc_st f) |
Deprecated.
|
static int |
cudart.cuLaunchCooperativeKernel(CUfunc_st f,
int gridDimX,
int gridDimY,
int gridDimZ,
int blockDimX,
int blockDimY,
int blockDimZ,
int sharedMemBytes,
CUstream_st hStream,
Pointer kernelParams) |
|
static int |
cudart.cuLaunchCooperativeKernel(CUfunc_st f,
int gridDimX,
int gridDimY,
int gridDimZ,
int blockDimX,
int blockDimY,
int blockDimZ,
int sharedMemBytes,
CUstream_st hStream,
PointerPointer kernelParams) |
\brief Launches a CUDA function where thread blocks can cooperate and synchronize as they execute
Invokes the kernel \p f on a \p gridDimX x \p gridDimY x \p gridDimZ
grid of blocks.
|
static int |
cudart.cuLaunchGrid(CUfunc_st f,
int grid_width,
int grid_height) |
Deprecated.
|
static int |
cudart.cuLaunchGridAsync(CUfunc_st f,
int grid_width,
int grid_height,
CUstream_st hStream) |
Deprecated.
|
static int |
cudart.cuLaunchKernel(CUfunc_st f,
int gridDimX,
int gridDimY,
int gridDimZ,
int blockDimX,
int blockDimY,
int blockDimZ,
int sharedMemBytes,
CUstream_st hStream,
PointerPointer kernelParams,
PointerPointer extra) |
\brief Launches a CUDA function
Invokes the kernel \p f on a \p gridDimX x \p gridDimY x \p gridDimZ
grid of blocks.
|
static int |
cudart.cuLaunchKernel(CUfunc_st f,
int gridDimX,
int gridDimY,
int gridDimZ,
int blockDimX,
int blockDimY,
int blockDimZ,
int sharedMemBytes,
CUstream_st hStream,
Pointer kernelParams,
Pointer extra) |
|
static int |
cudart.cuModuleGetFunction(CUfunc_st hfunc,
CUmod_st hmod,
String name) |
|
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.cuOccupancyMaxActiveBlocksPerMultiprocessor(int[] numBlocks,
CUfunc_st func,
int blockSize,
long dynamicSMemSize) |
|
static int |
cudart.cuOccupancyMaxActiveBlocksPerMultiprocessor(IntBuffer numBlocks,
CUfunc_st func,
int blockSize,
long dynamicSMemSize) |
|
static int |
cudart.cuOccupancyMaxActiveBlocksPerMultiprocessor(IntPointer numBlocks,
CUfunc_st func,
int blockSize,
long dynamicSMemSize) |
\brief Returns occupancy of a function
Returns in \p *numBlocks the number of the maximum active blocks per
streaming multiprocessor.
|
static int |
cudart.cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(int[] numBlocks,
CUfunc_st func,
int blockSize,
long dynamicSMemSize,
int flags) |
|
static int |
cudart.cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(IntBuffer numBlocks,
CUfunc_st func,
int blockSize,
long dynamicSMemSize,
int flags) |
|
static int |
cudart.cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(IntPointer numBlocks,
CUfunc_st func,
int blockSize,
long dynamicSMemSize,
int flags) |
\brief Returns occupancy of a function
Returns in \p *numBlocks the number of the maximum active blocks per
streaming multiprocessor.
|
static int |
cudart.cuOccupancyMaxPotentialBlockSize(int[] minGridSize,
int[] blockSize,
CUfunc_st func,
CUoccupancyB2DSize blockSizeToDynamicSMemSize,
long dynamicSMemSize,
int blockSizeLimit) |
|
static int |
cudart.cuOccupancyMaxPotentialBlockSize(IntBuffer minGridSize,
IntBuffer blockSize,
CUfunc_st func,
CUoccupancyB2DSize blockSizeToDynamicSMemSize,
long dynamicSMemSize,
int blockSizeLimit) |
|
static int |
cudart.cuOccupancyMaxPotentialBlockSize(IntPointer minGridSize,
IntPointer blockSize,
CUfunc_st func,
CUoccupancyB2DSize blockSizeToDynamicSMemSize,
long dynamicSMemSize,
int blockSizeLimit) |
\brief Suggest a launch configuration with reasonable occupancy
Returns in \p *blockSize a reasonable block size that can achieve
the maximum occupancy (or, the maximum number of active warps with
the fewest blocks per multiprocessor), and in \p *minGridSize the
minimum grid size to achieve the maximum occupancy.
|
static int |
cudart.cuOccupancyMaxPotentialBlockSizeWithFlags(int[] minGridSize,
int[] blockSize,
CUfunc_st func,
CUoccupancyB2DSize blockSizeToDynamicSMemSize,
long dynamicSMemSize,
int blockSizeLimit,
int flags) |
|
static int |
cudart.cuOccupancyMaxPotentialBlockSizeWithFlags(IntBuffer minGridSize,
IntBuffer blockSize,
CUfunc_st func,
CUoccupancyB2DSize blockSizeToDynamicSMemSize,
long dynamicSMemSize,
int blockSizeLimit,
int flags) |
|
static int |
cudart.cuOccupancyMaxPotentialBlockSizeWithFlags(IntPointer minGridSize,
IntPointer blockSize,
CUfunc_st func,
CUoccupancyB2DSize blockSizeToDynamicSMemSize,
long dynamicSMemSize,
int blockSizeLimit,
int flags) |
\brief Suggest a launch configuration with reasonable occupancy
An extended version of ::cuOccupancyMaxPotentialBlockSize.
|
static int |
cudart.cuParamSetf(CUfunc_st hfunc,
int offset,
float value) |
Deprecated.
|
static int |
cudart.cuParamSeti(CUfunc_st hfunc,
int offset,
int value) |
Deprecated.
|
static int |
cudart.cuParamSetSize(CUfunc_st hfunc,
int numbytes) |
Deprecated.
|
static int |
cudart.cuParamSetTexRef(CUfunc_st hfunc,
int texunit,
CUtexref_st hTexRef) |
Deprecated.
|
static int |
cudart.cuParamSetv(CUfunc_st hfunc,
int offset,
Pointer ptr,
int numbytes) |
Deprecated.
|