Ignore:
Timestamp:
May 10, 2017, 4:26:11 PM (2 years ago)
Author:
nmedfort
Message:

Large refactoring step. Removed IR generation code from Kernel (formally KernelBuilder?) and moved it into the new KernelBuilder? class.

File:
1 edited

Legend:

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

    r5436 r5440  
    1212namespace kernel {
    1313
    14 class StdOutKernel : public SegmentOrientedKernel {
     14class StdOutKernel final : public SegmentOrientedKernel {
    1515public:
    1616    StdOutKernel(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, unsigned codeUnitWidth);
    1717private:
    18     void generateDoSegmentMethod() override final;
     18    void generateDoSegmentMethod(const std::unique_ptr<KernelBuilder> & iBuilder) override;
    1919private:
    2020    const unsigned mCodeUnitWidth;
     
    2323
    2424
    25 class FileSink : public SegmentOrientedKernel {
     25class FileSink final : public SegmentOrientedKernel {
    2626public: 
    2727    FileSink(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, unsigned codeUnitWidth);
    2828protected:
    29     void generateInitializeMethod() override final;
    30     void generateDoSegmentMethod() override final;
     29    void generateInitializeMethod(const std::unique_ptr<KernelBuilder> & iBuilder) override;
     30    void generateDoSegmentMethod(const std::unique_ptr<KernelBuilder> & iBuilder) override;
    3131private:
    3232    const unsigned mCodeUnitWidth;
Note: See TracChangeset for help on using the changeset viewer.