Ignore:
Timestamp:
Jun 28, 2018, 1:54:52 AM (10 months ago)
Author:
xwa163
Message:
  1. Add some BasisSetNumbering? option to fix bug of multiplexing
  2. Use BiigEndian? BitNumbering? for lz4 and lzparabix related pipeline
  3. Support multiplexing in LZ4BitStreamAio pipeline
File:
1 edited

Legend:

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

    r5989 r6119  
    250250}
    251251
    252 ICGrepKernel::ICGrepKernel(const std::unique_ptr<kernel::KernelBuilder> & b, RE * const re, std::vector<std::string> externals, std::vector<cc::Alphabet *> alphabets)
     252ICGrepKernel::ICGrepKernel(const std::unique_ptr<kernel::KernelBuilder> & b, RE * const re, std::vector<std::string> externals, std::vector<cc::Alphabet *> alphabets, cc::BitNumbering basisSetNumbering)
    253253: ICGrepSignature(re)
    254254, PabloKernel(b, "ic" + sha1sum(mSignature),
     
    258258{Binding{b->getStreamSetTy(1, 1), "matches", FixedRate(), Add1()}})
    259259, mExternals(externals)
    260 , mAlphabets(alphabets) {
     260, mAlphabets(alphabets)
     261, mBasisSetNumbering(basisSetNumbering){
    261262}
    262263
     
    267268void ICGrepKernel::generatePabloMethod() {
    268269    PabloBuilder pb(getEntryScope());
    269     cc::Parabix_CC_Compiler ccc(getEntryScope(), getInputStreamSet("basis"));
    270     RE_Compiler re_compiler(getEntryScope(), ccc);
     270    cc::Parabix_CC_Compiler ccc(getEntryScope(), getInputStreamSet("basis"), mBasisSetNumbering);
     271    RE_Compiler re_compiler(getEntryScope(), ccc, mBasisSetNumbering);
    271272    for (auto & e : mExternals) {
    272273        re_compiler.addPrecompiled(e, pb.createExtract(getInputStreamVar(e), pb.getInteger(0)));
Note: See TracChangeset for help on using the changeset viewer.