Ignore:
Timestamp:
Jun 21, 2017, 7:42:55 PM (2 years ago)
Author:
cameron
Message:

Scanmatch kernel using multiblock kernel builder - revised from Dong

File:
1 edited

Legend:

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

    r5464 r5526  
    1414namespace kernel {
    1515   
    16 class ScanMatchKernel final : public BlockOrientedKernel {
     16class ScanMatchKernel : public MultiBlockKernel {
    1717public:
    18     ScanMatchKernel(const std::unique_ptr<kernel::KernelBuilder> & b, const GrepType grepType, const unsigned codeUnitWidth);
     18        ScanMatchKernel(const std::unique_ptr<kernel::KernelBuilder> & b, const GrepType grepType, const unsigned codeUnitWidth);
    1919    bool isCachable() const override { return true; }
    2020    bool hasSignature() const override { return false; }
    21 protected:
    22     void generateDoBlockMethod(const std::unique_ptr<kernel::KernelBuilder> & iBuilder) override;
    2321private:
    24     const GrepType      mGrepType;
     22        void generateMultiBlockLogic(const std::unique_ptr<kernel::KernelBuilder> & iBuilder) override;
     23        const GrepType      mGrepType;
    2524};
     25
    2626}
    27 
    2827#endif // SCANMATCHGEN_H
Note: See TracChangeset for help on using the changeset viewer.