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