Ignore:
Timestamp:
Jan 10, 2017, 2:00:04 PM (2 years ago)
Author:
cameron
Message:

Separate doSegment/final segment processing in pipeline loop; check optional NoTerminateAttribute?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/kernel.h

    r5251 r5252  
    4444    virtual Value * getProcessedItemCount(Value * self, const std::string & ssName) const override;
    4545    virtual Value * getProducedItemCount(Value * self, const std::string & ssName) const override;
     46   
     47    bool hasNoTerminateAttribute() { return mNoTerminateAttribute;}
     48   
    4649    Value * getTerminationSignal(Value * self) const override;
    4750   
     
    98101    // all scalar fields have been added.   If there are no fields to
    99102    // be added, the default method for preparing kernel state may be used.
     103   
     104    void setNoTerminateAttribute(bool noTerminate = true) {mNoTerminateAttribute = noTerminate;}
    100105   
    101106    virtual void prepareKernel();
     
    173178    std::vector<StreamSetBuffer *>  mStreamSetInputBuffers;
    174179    std::vector<StreamSetBuffer *>  mStreamSetOutputBuffers;
     180    bool                            mNoTerminateAttribute;
    175181
    176182};
Note: See TracChangeset for help on using the changeset viewer.