Submit#
Fully qualified name: cupva::cuda::Submit
Defined in src/host/cpp_api/include/cupva_host_cuda.hpp
- void cupva::cuda::Submit(
- cudaStream_t const cudaStream,
- const BaseCmd &command,
- CmdStatus *const status = nullptr,
- OrderType const order = IN_ORDER,
- int32_t const executionTimeout = -1,
- int32_t const submitTimeout = -1,
Submit one command to a CUDA Stream.
This function is used to submit one command to a CUDA Stream. It requires a PVA driver version >= 2007 and it is not supported in Native mode.
Usage considerations
Allowed context for the API call
Thread-safe: Yes
API group
Init: No
Runtime: Yes
De-Init: No
- Parameters:
cudaStream – [in] The CUDA stream handle.
command – [in] The command to submit.
status – [in] The status of the command.
order – [in] The order of the command.
executionTimeout – [in] The timeout for the command.
submitTimeout – [in] The timeout for the submission.
- Throws: