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/linebreak_kernel.cpp

    r5915 r6119  
    2424using namespace IDISA;
    2525
    26 LineFeedKernelBuilder::LineFeedKernelBuilder(const std::unique_ptr<kernel::KernelBuilder> & b, Binding && inputStreamSet)
     26LineFeedKernelBuilder::LineFeedKernelBuilder(const std::unique_ptr<kernel::KernelBuilder> & b, Binding && inputStreamSet, cc::BitNumbering basisNumbering)
    2727: PabloKernel(b, "lf" + std::to_string(getNumOfStreams(inputStreamSet.getType())) + "x" + std::to_string(getStreamFieldWidth(inputStreamSet.getType())),
    2828// input
     
    3030{Binding{b->getStreamSetTy(1), "lf"}}),
    3131    mNumOfStreams(getNumOfStreams(inputStreamSet.getType())),
    32     mStreamFieldWidth(getStreamFieldWidth(inputStreamSet.getType()))
     32    mStreamFieldWidth(getStreamFieldWidth(inputStreamSet.getType())),
     33    mBasisSetNumbering(basisNumbering)
    3334{
    3435}
     
    4041        ccc = make_unique<cc::Direct_CC_Compiler>(getEntryScope(), pb.createExtract(getInput(0), pb.getInteger(0)));
    4142    } else {
    42         ccc = make_unique<cc::Parabix_CC_Compiler>(getEntryScope(), getInputStreamSet("basis"));
     43        ccc = make_unique<cc::Parabix_CC_Compiler>(getEntryScope(), getInputStreamSet("basis"), mBasisSetNumbering);
    4344    }
    4445    PabloAST * LF = ccc->compileCC("LF", makeByte(0x0A), pb);
Note: See TracChangeset for help on using the changeset viewer.