Ignore:
Timestamp:
Feb 3, 2018, 12:02:14 PM (16 months ago)
Author:
cameron
Message:

Using DirectCC builder updates; speedup wc -l

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/toolchain/grep_pipeline.cpp

    r5856 r5861  
    2626using namespace parabix;
    2727using namespace llvm;
     28using namespace kernel;
    2829
    2930namespace grep {
     
    6465    StreamSetBuffer * LineFeedStream = pxDriver.addBuffer<CircularBuffer>(idb, idb->getStreamSetTy(1, 1), segmentSize);
    6566    #ifdef USE_DIRECT_LF_BUILDER
    66     kernel::Kernel * linefeedK = pxDriver.addKernelInstance<kernel::LineFeedKernelBuilder>(idb, 8);
     67    kernel::Kernel * linefeedK = pxDriver.addKernelInstance<kernel::LineFeedKernelBuilder>(idb, Binding{idb->getStreamSetTy(1, 8), "byteStream", FixedRate(), Principal()});
    6768    pxDriver.makeKernelCall(linefeedK, {ByteStream}, {LineFeedStream});
    6869    #endif
     
    7374
    7475    #ifndef USE_DIRECT_LF_BUILDER
    75     kernel::Kernel * linefeedK = pxDriver.addKernelInstance<kernel::LineFeedKernelBuilder>(idb, 8);
     76    kernel::Kernel * linefeedK = pxDriver.addKernelInstance<kernel::LineFeedKernelBuilder>(idb, Binding{idb->getStreamSetTy(8), "basis", FixedRate(), Principal()});
    7677    pxDriver.makeKernelCall(linefeedK, {BasisBits}, {LineFeedStream});
    7778    #endif
Note: See TracChangeset for help on using the changeset viewer.