Ignore:
Timestamp:
May 19, 2017, 12:03:57 PM (2 years ago)
Author:
cameron
Message:

Deprecating SingleBlockBuffer?

File:
1 edited

Legend:

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

    r5452 r5457  
    2121
    2222    enum class BufferKind : unsigned {
    23         BlockBuffer
    24         , SourceBuffer
     23        SourceBuffer
    2524        , ExternalBuffer
    2625        , CircularBuffer
     
    132131};   
    133132
    134 class SingleBlockBuffer final : public StreamSetBuffer {
    135 public:
    136     static inline bool classof(const StreamSetBuffer * b) {
    137         return b->getBufferKind() == BufferKind::BlockBuffer;
    138     }   
    139 
    140     SingleBlockBuffer(const std::unique_ptr<kernel::KernelBuilder> & b, llvm::Type * type);
    141 
    142 protected:
    143 
    144     llvm::Value * getStreamSetBlockPtr(IDISA::IDISA_Builder * const iBuilder, llvm::Value * self, llvm::Value * blockNo) const override;
    145 };
    146 
    147133class SourceBuffer final : public StreamSetBuffer {
    148134public:
Note: See TracChangeset for help on using the changeset viewer.