|
| virtual VDF_API | ~VdfSimpleExecutor () |
| | Destructor. More...
|
| |
| virtual VDF_API const VdfExecutorFactoryBase & | GetFactory () const override final |
| | Factory construction. More...
|
| |
| | VdfDataManagerBasedExecutor () |
| | Default constructor. More...
|
| |
| | VdfDataManagerBasedExecutor (const VdfExecutorInterface *parentExecutor) |
| | Construct with a parent executor. More...
|
| |
| virtual | ~VdfDataManagerBasedExecutor () |
| | Destructor. More...
|
| |
| virtual void | Resize (const VdfNetwork &network) override |
| | Resize the executor data manager to accommodate the given network. More...
|
| |
| virtual void | SetOutputValue (const VdfOutput &output, const VdfVector &value, const VdfMask &mask) override |
| | Sets the cached value for a given output. More...
|
| |
| virtual bool | TakeOutputValue (const VdfOutput &output, VdfVector *value, const VdfMask &mask) override |
| | Transfers the value to the given output. More...
|
| |
| virtual void | DuplicateOutputData (const VdfOutput &sourceOutput, const VdfOutput &destOutput) override |
| | Duplicates the output data associated with sourceOutput and copies it to destOutput. More...
|
| |
| virtual bool | IsEmpty () const override |
| | Returns true of the data manager is empty. More...
|
| |
| virtual bool | HasInvalidationTimestampMismatch (const VdfOutput &source, const VdfOutput &dest) const override |
| | Returns true, if the invalidation timestamps between the source and dest outputs do not match, i.e. More...
|
| |
| | VdfExecutorInterface (const VdfExecutorInterface &)=delete |
| | Noncopyable. More...
|
| |
|
VdfExecutorInterface & | operator= (const VdfExecutorInterface &)=delete |
| |
| virtual VDF_API | ~VdfExecutorInterface () |
| | Destructor. More...
|
| |
| VDF_API void | Run (const VdfSchedule &schedule, VdfExecutorErrorLogger *errorLogger=NULL) |
| | Executes the schedule. More...
|
| |
| VDF_API void | Run (const VdfSchedule &schedule, const VdfRequest &computeRequest, VdfExecutorErrorLogger *errorLogger=NULL) |
| | Executes the schedule. More...
|
| |
| VDF_API void | RegisterObserver (const VdfExecutorObserver *observer) const |
| | Can be called by clients to register a VdfExecutorObserver with this executor. More...
|
| |
| VDF_API void | UnregisterObserver (const VdfExecutorObserver *observer) const |
| | Must be called by clients to unregister a VdfExecutorObserver, which has been previously registered with RegisterObserver(). More...
|
| |
| const VdfVector * | GetOutputValue (const VdfOutput &output, const VdfMask &mask) const |
| | Returns the cached value for a given output if it has a cache that contains all values specified by mask. More...
|
| |
| const VdfExecutorInterface * | GetParentExecutor () const |
| | Returns the parent executor, if any. More...
|
| |
| VDF_API void | SetParentExecutor (const VdfExecutorInterface *parentExecutor) |
| | Sets the parent executor. More...
|
| |
| VDF_API void | InvalidateValues (const VdfMaskedOutputVector &invalidationRequest) |
| | Invalidates the network, starting from the masked outputs in request. More...
|
| |
| VDF_API void | InvalidateTopologicalState () |
| | Invalidate all state depending on network topology. More...
|
| |
| VDF_API void | ClearData () |
| | Clears the executor buffers. More...
|
| |
| VDF_API void | ClearDataForOutput (const VdfId outputId, const VdfId nodeId) |
| | Clears the executor buffers for a specific output. More...
|
| |
| void | IncrementExecutorInvalidationTimestamp () |
| | Increment this executor's invalidation timestamp for mung buffer locking. More...
|
| |
| void | InheritExecutorInvalidationTimestamp (const VdfExecutorInterface &executor) |
| | Inherit the invalidation timestamp from another executor. More...
|
| |
| VdfInvalidationTimestamp | GetExecutorInvalidationTimestamp () const |
| | Returns this executor's invalidation timestamp. More...
|
| |
| void | SetInterruptionFlag (const std::atomic_bool *interruptionFlag) |
| | Set the interruption flag. More...
|
| |
| const std::atomic_bool * | GetInterruptionFlag () const |
| | Returns the interruption flag. More...
|
| |
| bool | HasBeenInterrupted () const |
| | Returns whether or not the executor has been interrupted, if the executor supports interruption. More...
|
| |
| void | SetExecutionStats (VdfExecutionStats *stats) |
| | Sets an execution stats object. More...
|
| |
| VdfExecutionStats * | GetExecutionStats () const |
| | Returns the Execution Stats object, if any. More...
|
| |
|
| virtual VDF_API void | _Run (const VdfSchedule &schedule, const VdfRequest &computeRequest, VdfExecutorErrorLogger *errorLogger) override |
| | Executes the schedule. More...
|
| |
| VDF_API void | _PrepareReadWriteBuffer (VdfExecutorBufferData *bufferData, const VdfInput &input, const VdfMask &mask, const VdfSchedule &schedule) |
| | Prepares a buffer to be used as a read/write output. More...
|
| |
| virtual const VdfVector * | _GetInputValue (const VdfConnection &connection, const VdfMask &mask) const override |
| | Returns value for the cache that flows across connection. More...
|
| |
| virtual const VdfVector * | _GetOutputValueForReading (const VdfOutput &output, const VdfMask &mask) const override |
| | Returns an output value for reading. More...
|
| |
| virtual VdfVector * | _GetOutputValueForWriting (const VdfOutput &output) const override |
| | Returns an output value for writing. More...
|
| |
| void | _ClearDataForOutput (const VdfId outputId, const VdfId nodeId) override |
| | Clears the buffer data for a specific output on this executor. More...
|
| |
| virtual bool | _IsOutputInvalid (const VdfId outputId, const VdfMask &invalidationMask) const override |
| | Returns true if the output is already invalid for the given invalidationMask. More...
|
| |
| virtual bool | _InvalidateOutput (const VdfOutput &output, const VdfMask &invalidationMask) override |
| | Called during invalidation to mark outputs as invalid and determine when the traversal can terminate early. More...
|
| |
| virtual void | _UpdateInvalidationTimestamp () override |
| | Called before invalidation begins to update the timestamp that will be written for every VdfOutput visited during invalidation. More...
|
| |
| virtual void | _SetReferenceOutputValue (const VdfOutput &destOutput, const VdfOutput &sourceOutput, const VdfMask &sourceMask) const override |
| | Called to set destOutput's buffer output to be a reference to the buffer output of sourceOutput. More...
|
| |
| virtual void | _TouchOutput (const VdfOutput &output) const override |
| | Mark the output as having been visited. More...
|
| |
| VDF_API | VdfExecutorInterface () |
| | Protected default constructor. More...
|
| |
| VDF_API | VdfExecutorInterface (const VdfExecutorInterface *parentExecutor) |
| | Construct with a parent executor. More...
|
| |
| virtual bool | _PreProcessInvalidation (const VdfMaskedOutputVector &invalidationRequest, VdfMaskedOutputVector *processedRequest) |
| | This method is called as a pre-processing step before an InvalidateValues() call. More...
|
| |
| virtual VDF_API void | _ClearData () |
| | Virtual implementation of ClearData, which can optionally be overridden by derived classes. More...
|
| |
Executes a VdfNetwork to compute a requested set of values using depth first search.
Definition at line 33 of file simpleExecutor.h.