Ignore:
Timestamp:
Feb 10, 2017, 3:55:14 PM (2 years ago)
Author:
nmedfort
Message:

Removed BlockNo? + updated LookAhead? to use getInputStream.

File:
1 edited

Legend:

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

    r5307 r5311  
    115115
    116116protected:
    117     llvm::Value * getStreamSetPtr(llvm::Value * bufferBasePtr, llvm::Value * blockNo) const override;
     117    llvm::Value * getStreamSetPtr(llvm::Value * self, llvm::Value * blockIndex) const override;
    118118};
    119119   
     
    139139   
    140140protected:
    141     llvm::Value * getStreamSetPtr(llvm::Value * bufferBasePtr, llvm::Value * blockNo) const override;
     141    llvm::Value * getStreamSetPtr(llvm::Value * self, llvm::Value * blockIndex) const override;
    142142private:
    143143    size_t mOverflowBlocks;
     
    154154    ExpandableBuffer(IDISA::IDISA_Builder * b, llvm::Type * type, size_t bufferBlocks, unsigned AddressSpace = 0);
    155155
    156     llvm::Value * getStream(llvm::Value * self, llvm::Value * blockNo, llvm::Value * index) const override;
     156    llvm::Value * getStream(llvm::Value * self, llvm::Value * streamIndex, llvm::Value * blockIndex) const override;
    157157
    158     llvm::Value * getStream(llvm::Value * self, llvm::Value * blockNo, llvm::Value * index1, llvm::Value * index2) const override;
     158    llvm::Value * getStream(llvm::Value * self, llvm::Value * streamIndex, llvm::Value * blockIndex, llvm::Value * packIndex) const override;
    159159
    160160    llvm::Value * getLinearlyAccessibleItems(llvm::Value * fromPosition) const override;
     
    162162protected:
    163163
    164     llvm::Value * getStreamSetPtr(llvm::Value * self, llvm::Value * blockNo) const override;
     164    void ensureStreamCapacity(llvm::Value * self, llvm::Value * streamIndex) const;
     165
     166    llvm::Value * getStreamSetPtr(llvm::Value * self, llvm::Value * blockIndex) const override;
    165167};
    166168
Note: See TracChangeset for help on using the changeset viewer.