Ignore:
Timestamp:
Feb 10, 2017, 1:48:34 PM (3 years ago)
Author:
nmedfort
Message:

Adjusted pablo compiler to use getInputStream and getOutputStream when accessing packed stream fields.

File:
1 edited

Legend:

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

    r5297 r5310  
    6666, const std::vector<CC *> & charClasses
    6767, unsigned basisBitsCount)
    68 : PabloKernel(iBuilder, ccSetName +"_kernel") {
    69 
    70     CC_Compiler ccc(this, basisBitsCount);
     68: PabloKernel(iBuilder, ccSetName +"_kernel", {Binding{iBuilder->getStreamSetTy(basisBitsCount), "basis"}}) {
     69    CC_Compiler ccc(this, getInput(0));
    7170    auto & builder = ccc.getBuilder();
    7271    for (CC * cc : charClasses) {
Note: See TracChangeset for help on using the changeset viewer.