Ignore:
Timestamp:
Jan 25, 2018, 2:03:09 PM (15 months ago)
Author:
cameron
Message:

CC Compiler refactoring step

File:
1 edited

Legend:

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

    r5842 r5843  
    2222   
    2323    //  input: 8 basis bit streams
    24     const auto u8bitSet = this->getInputStreamVar("u8bit");
    25     PabloAST * u8_bits[8];
    26     for (int i = 0; i < 8; ++i) {
    27         u8_bits[i] = main.createExtract(u8bitSet, main.getInteger(i));
    28     }
     24    std::vector<PabloAST *> u8_bits = getInputStreamSet("u8bit");
    2925    //  output: 32 u8-indexed streams, + delmask stream + error stream
    3026   
    31     cc::CC_Compiler ccc(this, u8bitSet);
     27    cc::CC_Compiler ccc(this, u8_bits);
    3228   
    3329    Zeroes * zeroes = main.createZeroes();
Note: See TracChangeset for help on using the changeset viewer.