Ignore:
Timestamp:
Nov 6, 2016, 8:37:11 PM (3 years ago)
Author:
nmedfort
Message:

Initial work on adding types to PabloAST and mutable Var objects.

File:
1 edited

Legend:

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

    r5140 r5202  
    2424    DirectCharacterClassKernelBuilder(IDISA::IDISA_Builder * iBuilder, std::string ccSetName, std::vector<re::CC *> charClasses, unsigned codeUnitSize) :
    2525    KernelBuilder(iBuilder, "cc",
    26                   {StreamSetBinding{parabix::StreamSetType(1, 8 * codeUnitSize), "codeUnitStream"}},
    27                   {StreamSetBinding{parabix::StreamSetType(charClasses.size(), parabix::i1), "ccStream"}},
     26                  {Binding{parabix::StreamSetType(iBuilder,1, 8 * codeUnitSize), "codeUnitStream"}},
     27                  {Binding{parabix::StreamSetType(iBuilder,charClasses.size(), 1), "ccStream"}},
    2828                  {}, {}, {}), mCharClasses(charClasses), mCodeUnitSize(codeUnitSize) {}
    2929   
     
    4141public:
    4242    ParabixCharacterClassKernelBuilder(IDISA::IDISA_Builder * iBuilder, std::string ccSetName, std::vector<re::CC *> charClasses, unsigned basisBitsCount) :
    43         PabloKernel(iBuilder, ccSetName +"_kernel", cc::ParabixCharacterClassFunction(ccSetName, charClasses, basisBitsCount), {}) {}
     43        PabloKernel(iBuilder, ccSetName +"_kernel", cc::ParabixCharacterClassFunction(ccSetName, charClasses, basisBitsCount)) {}
    4444   
    4545};
Note: See TracChangeset for help on using the changeset viewer.