Ignore:
Timestamp:
Mar 29, 2017, 2:29:52 PM (2 years ago)
Author:
nmedfort
Message:

Support for stdin. Needs more testing.

File:
1 edited

Legend:

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

    r5292 r5377  
    1414namespace kernel {
    1515
    16 class StdInKernel : public SegmentOrientedKernel {
     16class StdInKernel final : public SegmentOrientedKernel {
    1717public:
    1818    StdInKernel(IDISA::IDISA_Builder * iBuilder, unsigned blocksPerSegment = 1, unsigned codeUnitWidth = 8);
    1919protected:
    20     void generateDoSegmentMethod(llvm::Value * doFinal, const std::vector<llvm::Value *> & producerPos) override final;
     20    void generateDoSegmentMethod(llvm::Value * doFinal, const std::vector<llvm::Value *> & producerPos) override;
    2121private:
    2222    unsigned mSegmentBlocks;
     
    2525   
    2626
    27 class FileSource : public SegmentOrientedKernel {
     27class FileSource final : public SegmentOrientedKernel {
    2828public:
    2929    FileSource(IDISA::IDISA_Builder * iBuilder, unsigned blocksPerSegment = 1, unsigned codeUnitWidth = 8);
    3030protected:
    31     void generateInitMethod() override final;
    32     void generateDoSegmentMethod(llvm::Value * doFinal, const std::vector<llvm::Value *> & producerPos) override final;
     31    void generateInitMethod() override;
     32    void generateDoSegmentMethod(llvm::Value * doFinal, const std::vector<llvm::Value *> & producerPos) override;
    3333private:
    3434    unsigned mSegmentBlocks;
Note: See TracChangeset for help on using the changeset viewer.