Ignore:
Timestamp:
Apr 28, 2017, 2:50:59 PM (2 years ago)
Author:
nmedfort
Message:

Refactored source kernels. icgrep from stdin should now be able to handle any file size.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/wc.cpp

    r5425 r5429  
    2020#include <IR_Gen/idisa_target.h>
    2121#include <kernels/streamset.h>
    22 #include <kernels/mmap_kernel.h>
     22#include <kernels/source_kernel.h>
    2323#include <kernels/s2p_kernel.h>
    2424#include <pablo/pablo_compiler.h>
     
    157157    iBuilder->SetInsertPoint(BasicBlock::Create(m->getContext(), "entry", main,0));
    158158
    159     StreamSetBuffer * const ByteStream = pxDriver.addBuffer(make_unique<SourceFileBuffer>(iBuilder, iBuilder->getStreamSetTy(1, 8)));
     159    StreamSetBuffer * const ByteStream = pxDriver.addBuffer(make_unique<SourceBuffer>(iBuilder, iBuilder->getStreamSetTy(1, 8)));
    160160
    161161    StreamSetBuffer * const BasisBits = pxDriver.addBuffer(make_unique<SingleBlockBuffer>(iBuilder, iBuilder->getStreamSetTy(8, 1)));
Note: See TracChangeset for help on using the changeset viewer.