Ignore:
Timestamp:
Aug 26, 2016, 9:33:51 AM (3 years ago)
Author:
cameron
Message:

Defer binding of buffers to stream sets until kernel generation

File:
1 edited

Legend:

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

    r5123 r5133  
    2121    int StreamCount() { return mStreamCount;}
    2222    int StreamFieldWidth() { return mFieldWidth;}
     23    bool operator== (StreamSetType& other) {return (mStreamCount == other.mStreamCount) && (mFieldWidth == other.mFieldWidth);}
    2324   
    2425    llvm::Type * getStreamSetBlockType(IDISA::IDISA_Builder * iBuilder);
     
    3334    enum class BufferKind : unsigned {BlockBuffer, ExternalUnboundedBuffer, CircularBuffer, ExpandingBuffer};
    3435    inline BufferKind getBufferKind() const {return mBufferKind;}
    35    
     36    inline StreamSetType& getBufferStreamSetType() {return mStreamSetType;}
     37
    3638    virtual llvm::PointerType * getStreamBufferPointerType();
    3739
Note: See TracChangeset for help on using the changeset viewer.