CUresult cuParamSetv ( CUfunction  func,
int  offset,
void *  ptr,
unsigned int  numbytes 
)

Copies an arbitrary amount of data (specified in numbytes) from ptr into the parameter space of the kernel corresponding to func. offset is a byte offset.

Parameters:
func - Kernel to add data to
offset - Offset to add data to argument list
ptr - Pointer to arbitrary data
numbytes - Size of data to copy in bytes
Returns:
CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED, CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cuFuncSetBlockShape, cuFuncSetSharedSize, cuFuncGetAttribute, cuParamSetSize, cuParamSetf, cuParamSeti, cuParamSetTexRef, cuLaunch, cuLaunchGrid, cuLaunchGridAsync


Generated by Doxygen on Mon Mar 30 23:16:12 2009 for NVIDIA CUDA Library  NVIDIA