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 |
Data Fields | |
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... | |
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 Public Attributes | |
static constexpr size_t | MAX_NAME_LEN {256U} |
The maximum length of the runnable id. More... | |
|
inline |
|
inline |
Constructor with a function running on a GPU.
Definition at line 139 of file Pass.hpp.
References dw::framework::Pass::m_cudaStream.
|
inline |
Constructor with a function running on a DLA.
Definition at line 161 of file Pass.hpp.
References dw::framework::Pass::m_dlaEngine.
|
inlinefinalvirtual |
|
inlinefinalvirtual |
Implements dw::framework::Pass.
|
inlinefinalvirtual |
Implements dw::framework::Pass.
Definition at line 182 of file Pass.hpp.
References dw::framework::Exception::guard().
|
inlinefinalvirtual |
Implements dw::framework::Pass.
|
inherited |
|
inherited |
The cuda stream to use in case the processor type is GPU.
Definition at line 98 of file Pass.hpp.
Referenced by dw::framework::PassImpl< PassFunctionT >::PassImpl().
|
inherited |
The dla engine to run on in case the processor type is GPU.
Definition at line 101 of file Pass.hpp.
Referenced by dw::framework::PassImpl< PassFunctionT >::PassImpl().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
staticinherited |