template<class T >
cudaError_t cudaSetupArgument ( arg,
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
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:
cudaLaunch (C++ API), cudaSetupArgument (C API) cudaConfigureCall


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