Ignore:
Timestamp:
Feb 10, 2017, 1:48:34 PM (2 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/wc.cpp

    r5307 r5310  
    9090void wc_gen(PabloKernel * kernel) {
    9191    //  input: 8 basis bit streams
    92     const auto u8bitSet = kernel->getInputSet("u8bit");
     92    const auto u8bitSet = kernel->getInputStreamVar("u8bit");
    9393    //  output: 3 counters
    9494   
     
    9797    PabloBuilder & pb = ccc.getBuilder();
    9898
    99     Var * lc = kernel->getScalarOutput("lineCount");
    100     Var * wc = kernel->getScalarOutput("wordCount");
    101     Var * cc = kernel->getScalarOutput("charCount");
     99    Var * lc = kernel->getOutputScalarVar("lineCount");
     100    Var * wc = kernel->getOutputScalarVar("wordCount");
     101    Var * cc = kernel->getOutputScalarVar("charCount");
    102102
    103103    if (CountLines) {
Note: See TracChangeset for help on using the changeset viewer.