Ignore:
Timestamp:
Dec 15, 2017, 12:44:01 PM (19 months ago)
Author:
nmedfort
Message:

Initial check-in of LookAhead? support; modified LineBreakKernel? to compute CR+LF using LookAhead?(1) + misc. fixes.

File:
1 edited

Legend:

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

    r5758 r5782  
    210210ScanMatchKernel::ScanMatchKernel(const std::unique_ptr<kernel::KernelBuilder> & b)
    211211: MultiBlockKernel("scanMatch",
    212     {Binding{b->getStreamSetTy(1, 1), "matchResult", FixedRate(), Principal()}, Binding{b->getStreamSetTy(1, 1), "lineBreak"}, Binding{b->getStreamSetTy(1, 8), "InputStream", FixedRate(), Deferred() }},
    213     {},
    214     {Binding{b->getIntAddrTy(), "accumulator_address"}},
    215     {},
    216     {Binding{b->getSizeTy(), "BlockNo"}, Binding{b->getSizeTy(), "LineNum"}}) {}
    217 }
     212// inputs
     213{Binding{b->getStreamSetTy(1, 1), "matchResult", FixedRate(), Principal()}
     214,Binding{b->getStreamSetTy(1, 1), "lineBreak"}
     215,Binding{b->getStreamSetTy(1, 8), "InputStream", FixedRate(), Deferred()}},
     216// outputs
     217{},
     218// input scalars
     219{Binding{b->getIntAddrTy(), "accumulator_address"}},
     220// output scalars
     221{},
     222// kernel state
     223{Binding{b->getSizeTy(), "BlockNo"}
     224,Binding{b->getSizeTy(), "LineNum"}}) {
     225
     226}
     227
     228}
Note: See TracChangeset for help on using the changeset viewer.