Ignore:
Timestamp:
Aug 26, 2016, 9:33:51 AM (3 years ago)
Author:
cameron
Message:

Defer binding of buffers to stream sets until kernel generation

File:
1 edited

Legend:

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

    r5106 r5133  
    1919class scanMatchKernel : public KernelBuilder {
    2020public:
    21     scanMatchKernel(IDISA::IDISA_Builder * iBuilder, parabix::StreamSetBuffer& matchResults, bool isNameExpression) :
     21    scanMatchKernel(IDISA::IDISA_Builder * iBuilder, bool isNameExpression) :
    2222    KernelBuilder(iBuilder, "scanMatch",
    23                   {StreamSetBinding{matchResults, "matchResults"}},
     23                  {StreamSetBinding{parabix::StreamSetType(2, parabix::i1), "matchResults"}},
    2424                    {},
    2525                    {ScalarBinding{iBuilder->getInt8PtrTy(), "FileBuf"}, ScalarBinding{iBuilder->getSizeTy(), "FileSize"}, ScalarBinding{iBuilder->getSizeTy(), "FileIdx"}},
Note: See TracChangeset for help on using the changeset viewer.