cudaError_t cudaSetupArgument ( const void *  arg,
size_t  size,
size_t  offset 
)

Pushes size bytes of the argument pointed to by arg at offset bytes from the start of the parameter passing area, which starts at offset 0. The arguments are stored in the top of the execution stack. cudaSetupArgument() must be preceded by a call to cudaConfigureCall().

Parameters:
arg - Argument to push for a kernel launch
size - Size of argument
offset - Offset in argument stack to push new arg
Returns:
cudaSuccess
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaConfigureCall, cudaFuncSetCacheConfig (C API), cudaFuncGetAttributes (C API), cudaLaunch (C API), cudaSetDoubleForDevice, cudaSetDoubleForHost, cudaSetupArgument (C++ API),


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA