Ignore:
Timestamp:
Feb 2, 2018, 2:49:08 PM (15 months ago)
Author:
nmedfort
Message:

Revised pipeline structure to better control I/O rates

File:
1 edited

Legend:

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

    r5831 r5856  
    203203
    204204    std::string getCacheName(const std::unique_ptr<KernelBuilder> & idb) const;
     205
     206    bool canTerminateEarly() const { return hasAttribute(Attribute::KindId::CanTerminateEarly); }
    205207
    206208protected:
     
    288290
    289291    llvm::Function *                    mCurrentMethod;
    290     llvm::Value *                       mAvailablePrincipalItemCount;
    291     bool                                mIsGenerated;
     292    llvm::Value *                       mAvailablePrincipalItemCount;   
    292293    unsigned                            mStride;
    293294    llvm::Value *                       mIsFinal;
    294295    llvm::Value *                       mOutputScalarResult;
     296    mutable bool                        mIsGenerated;
     297
    295298    std::vector<llvm::Value *>          mAvailableItemCount;
    296299
     
    300303    StreamMap                           mStreamMap;
    301304
     305    // TODO: once the kernel no longer needs to be aware of what type of buffers its working with,
     306    // these should be removed from the Kernel class and put into the Pipeline
    302307    StreamSetBuffers                    mStreamSetInputBuffers;
    303308    std::vector<llvm::Value *>          mStreamSetInputBaseAddress;
Note: See TracChangeset for help on using the changeset viewer.