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 std::initializer_list<Cmd> &cmdList,
- CmdStatus *const status = nullptr,
- OrderType const order = IN_ORDER,
- int32_t const executionTimeout = -1,
- int32_t const submitTimeout = -1,
Submit a command list to a CUDA Stream.
This function is used to submit a command list 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.
cmdList – [in] The command list to submit.
status – [in] The status of the command list.
order – [in] The order of the command list.
executionTimeout – [in] The timeout for the command list.
submitTimeout – [in] The timeout for the submission.
- Throws: