Public Member Functions | |
Node & | getNode () const final |
dw::core::FixedString< MAX_NAME_LEN > const & | getRunnableId (bool isSubmitPass) const final |
PassImpl (Node &node, const dw::core::StringView &name, PassFunctionT const passFunc, dwProcessorType const processor, std::initializer_list< std::pair< dwStatus, uint32_t > > const &returnMapping={}) | |
Constructor with a function running on the given processor type. More... | |
dwStatus | run () final |
void | setRunnableId (dw::core::StringView const &runnableId) final |
![]() | |
const dw::core::StringView & | getName () const |
Get the name of the pass. More... | |
virtual Node & | getNode () const =0 |
Get the node this pass belongs to. More... | |
dw::core::HeapHashMap< dwStatus, uint32_t > const & | getPassReturnErrorMap () |
Get the return status code to error map. 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 | |
![]() | |
cudaStream_t | m_cudaStream |
The cuda stream to use in case the processor type is GPU. More... | |
bool | m_isFirstIteration |
dwProcessorType | m_processor |
The processor type this pass runs on. More... | |
![]() | |
static constexpr const size_t | MAX_NAME_LEN {256U} |
The maximum length of the runnable id. More... | |
![]() | |
Pass (const dw::core::StringView &name, dwProcessorType const processor, std::initializer_list< std::pair< dwStatus, uint32_t > > const &returnMapping={}) | |
Constructor. More... | |
|
inline |
|
inlinefinalvirtual |
|
inlinefinalvirtual |
Implements dw::framework::Pass.
|
inlinefinalvirtual |
Implements dw::framework::Pass.
Definition at line 129 of file Pass.hpp.
References dw::framework::ExceptionGuard::guard().
|
inlinefinalvirtual |
Implements dw::framework::Pass.
Definition at line 140 of file Pass.hpp.
References dw::framework::Pass::MAX_NAME_LEN.