Ignore:
Timestamp:
Mar 31, 2017, 3:05:41 PM (2 years ago)
Author:
nmedfort
Message:

Replaced stdin input stream with mmap'ed buffer and aligned each read call to the page size.

File:
1 edited

Legend:

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

    r5379 r5386  
    4646
    4747    virtual void allocateBuffer();
     48
     49    virtual void releaseBuffer(llvm::Value * self);
    4850
    4951    virtual llvm::Value * getStreamBlockPtr(llvm::Value * self, llvm::Value * streamIndex, llvm::Value * blockIndex, const bool readOnly) const;
     
    131133    void reserveBytes(llvm::Value * self, llvm::Value * position, llvm::Value * requested) const override;
    132134
     135    void releaseBuffer(llvm::Value * self) override;
     136
    133137protected:
    134138
     
    214218    llvm::Value * getStreamSetCount(llvm::Value * self) const override;
    215219
     220    void releaseBuffer(llvm::Value * self) override;
     221
    216222protected:
    217223
Note: See TracChangeset for help on using the changeset viewer.