Ignore:
Timestamp:
Jan 28, 2017, 3:12:03 PM (2 years ago)
Author:
nmedfort
Message:

Start of work to simplify kernel writing. Removed generateDoBlockLogic method.

File:
1 edited

Legend:

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

    r5283 r5285  
    1717public:
    1818    StdInKernel(IDISA::IDISA_Builder * iBuilder, unsigned blocksPerSegment = 1, unsigned codeUnitWidth = 8);
    19    
     19protected:
     20    void generateDoSegmentMethod() const override final;
    2021private:
    2122    unsigned mSegmentBlocks;
    2223    unsigned mCodeUnitWidth;
    23  
    24     void generateDoSegmentMethod() const override;
    25    
    2624};
    2725   
     
    2927class FileSource : public SegmentOrientedKernel {
    3028public:
    31  
    3229    FileSource(IDISA::IDISA_Builder * iBuilder, unsigned blocksPerSegment = 1, unsigned codeUnitWidth = 8);
    33  
    34 private:
    35  
    36     void generateInitMethod() const override;
    37     void generateDoSegmentMethod() const override;
    38  
     30protected:
     31    void generateInitMethod() const override final;
     32    void generateDoSegmentMethod() const override final;
    3933private:
    4034    unsigned mSegmentBlocks;
     
    4236 
    4337};
     38
    4439}
    4540
Note: See TracChangeset for help on using the changeset viewer.