CreateSyncStream#
Fully qualified name: cupva_utils::CreateSyncStream
Defined in cupva_host_utils.hpp
- cupva::Stream cupva_utils::CreateSyncStream(
- cupva::EngineType absEngine = cupva::EngineType::PVA0,
- cupva::AffinityType vpuAffinity = cupva::AffinityType::VPU_ANY,
Construct a new sync Stream object.
A cupva::Stream which is created via this method will implicitly synchronize all submissions with the host-side CPU. Synchronization will occur before returning from the submit() method. This can be useful for debugging purposes.
Usage considerations
Allowed context for the API call
Interrupt handler: No
Signal handler: No
Thread-safe: No
Re-entrant: No
Async/Sync: Sync
Required privileges: None
Allowed execution state
Initialization: Yes
Operational: Yes
Reinit/Deinit Preparation: Yes
Maturity: GA
- Parameters:
absEngine – The PVA engine Id.
vpuAffinity – The queue submission affinity.
- Throws:
- Pre:
None