Public Member Functions | |
Node & | getNode () const final |
dw::core::FixedString< MAX_NAME_LEN > const & | getRunnableId (bool isSubmitPass) const final |
PassImpl (Node &node, PassFunctionT const passFunc, dwProcessorType const processor, dwProcessType const processType, dwTime_t const minTime, dwTime_t const avgTime, dwTime_t const maxTime) | |
Constructor with a function running on a CPU. More... | |
PassImpl (Node &node, PassFunctionT const passFunc, dwProcessorType const processor, dwProcessType const processType, dwTime_t const minTime, dwTime_t const avgTime, dwTime_t const maxTime, cudaStream_t const cudaStream) | |
Constructor with a function running on a GPU. More... | |
PassImpl (Node &node, PassFunctionT const passFunc, dwProcessorType const processor, dwProcessType const processType, dwTime_t const minTime, dwTime_t const avgTime, dwTime_t const maxTime, NvMediaDla *const dlaEngine) | |
Constructor with a function running on a DLA. More... | |
dwStatus | run () final |
void | setRunnableId (dw::core::StringView const &runnableId) final |
![]() | |
virtual Node & | getNode () const =0 |
Get the node this pass belongs to. More... | |
virtual dw::core::FixedString< MAX_NAME_LEN > const & | getRunnableId (bool isSubmitPass) const =0 |
Get the runnable id. More... | |
Pass & | operator= (Pass &&) &=delete |
Move assignment operator. More... | |
Pass & | operator= (Pass const &) &=delete |
Copy assignment operator. More... | |
Pass (Pass &&)=delete | |
Move constructor. More... | |
Pass (Pass const &)=delete | |
Copy constructor. More... | |
virtual dwStatus | run ()=0 |
Run the pass. More... | |
virtual void | setRunnableId (dw::core::StringView const &runnableId)=0 |
Set the runnable id. More... | |
virtual | ~Pass ()=default |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
dwTime_t | m_avgTime |
cudaStream_t | m_cudaStream |
The cuda stream to use in case the processor type is GPU. More... | |
NvMediaDla * | m_dlaEngine |
The dla engine to run on in case the processor type is GPU. More... | |
bool | m_isFirstIteration |
dwTime_t | m_maxTime |
dwTime_t | m_minTime |
dwProcessorType | m_processor |
The processor type this pass runs on. More... | |
dwProcessType | m_processType |
The process type this pass runs with. More... | |
![]() | |
static constexpr size_t | MAX_NAME_LEN {256U} |
The maximum length of the runnable id. More... | |
![]() | |
Pass (dwProcessorType const processor, dwProcessType const processType, dwTime_t const minTime, dwTime_t const avgTime, dwTime_t const maxTime) noexcept | |
Constructor. More... | |
|
inline |
|
inline |
Constructor with a function running on a GPU.
Definition at line 139 of file Pass.hpp.
References dw::framework::cudaStream, and dw::framework::Pass::m_cudaStream.
|
inline |
Constructor with a function running on a DLA.
Definition at line 160 of file Pass.hpp.
References dw::framework::Pass::m_dlaEngine.
|
inlinefinalvirtual |
|
inlinefinalvirtual |
Implements dw::framework::Pass.
|
inlinefinalvirtual |
Implements dw::framework::Pass.
Definition at line 181 of file Pass.hpp.
References dw::framework::Exception::guard().
|
inlinefinalvirtual |
Implements dw::framework::Pass.