
Public Member Functions | |
| 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... | |
Public Attributes | |
| 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 Public Attributes | |
| static constexpr const size_t | MAX_NAME_LEN {256U} |
| The maximum length of the runnable id. More... | |
Protected Member Functions | |
| Pass (const dw::core::StringView &name, dwProcessorType const processor, std::initializer_list< std::pair< dwStatus, uint32_t > > const &returnMapping={}) | |
| Constructor. More... | |
|
virtualdefault |
Destructor.
|
delete |
Copy constructor.
|
delete |
Move constructor.
|
protected |
Constructor.
| const dw::core::StringView & dw::framework::Pass::getName | ( | ) | const |
Get the name of the pass.
|
pure virtual |
Get the node this pass belongs to.
Implemented in dw::framework::PassImpl< PassFunctionT >.
| dw::core::HeapHashMap< dwStatus, uint32_t > const & dw::framework::Pass::getPassReturnErrorMap | ( | ) |
Get the return status code to error map.
|
pure virtual |
Get the runnable id.
Implemented in dw::framework::PassImpl< PassFunctionT >.
|
pure virtual |
Run the pass.
Implemented in dw::framework::PassImpl< PassFunctionT >.
|
pure virtual |
Set the runnable id.
Implemented in dw::framework::PassImpl< PassFunctionT >.
| cudaStream_t dw::framework::Pass::m_cudaStream |
| bool dw::framework::Pass::m_isFirstIteration |
| dwProcessorType dw::framework::Pass::m_processor |
|
staticconstexpr |
The maximum length of the runnable id.
Definition at line 56 of file Pass.hpp.
Referenced by dw::framework::PassImpl< PassFunctionT >::setRunnableId().