Ignore:
Timestamp:
Apr 7, 2017, 4:59:04 PM (2 years ago)
Author:
nmedfort
Message:

Continued work on processing stdin input. Partial integration of ParabixDriver? methods into icgrep and editd. Object cache does not currently work for recursive REs.

File:
1 edited

Legend:

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

    r5377 r5398  
    1717public:
    1818    StdInKernel(IDISA::IDISA_Builder * iBuilder, unsigned blocksPerSegment = 1, unsigned codeUnitWidth = 8);
     19    bool moduleIDisSignature() override { return true; }
    1920protected:
    2021    void generateDoSegmentMethod(llvm::Value * doFinal, const std::vector<llvm::Value *> & producerPos) override;
     
    2324    unsigned mCodeUnitWidth;
    2425};
    25    
    2626
    27 class FileSource final : public SegmentOrientedKernel {
     27class FileSourceKernel final : public SegmentOrientedKernel {
    2828public:
    29     FileSource(IDISA::IDISA_Builder * iBuilder, unsigned blocksPerSegment = 1, unsigned codeUnitWidth = 8);
     29    FileSourceKernel(IDISA::IDISA_Builder * iBuilder, llvm::Type * fileSourceTy, unsigned blocksPerSegment = 1, unsigned codeUnitWidth = 8);
     30    bool moduleIDisSignature() override { return true; }
    3031protected:
    3132    void generateInitMethod() override;
     
    3435    unsigned mSegmentBlocks;
    3536    unsigned mCodeUnitWidth;
    36  
    37 };
     37  };
    3838
    3939}
Note: See TracChangeset for help on using the changeset viewer.