Ignore:
Timestamp:
May 19, 2017, 12:03:57 PM (2 years ago)
Author:
cameron
Message:

Deprecating SingleBlockBuffer?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/array-test.cpp

    r5436 r5457  
    1010#include <kernels/alignedprint.h>
    1111#include <kernels/kernel_builder.h>
    12 #include <kernels/streamset.h>                     // for SingleBlockBuffer
     12#include <kernels/streamset.h>                     // for CircularBuffer
    1313#include <llvm/ExecutionEngine/ExecutionEngine.h>  // for ExecutionEngine
    1414#include <llvm/IR/Function.h>                      // for Function, Function...
     
    172172    auto matches = pxDriver.addBuffer(make_unique<ExpandableBuffer>(iBuilder, iBuilder->getStreamSetTy(count), segmentSize * bufferSegments));
    173173
    174     auto errors = pxDriver.addBuffer(make_unique<SingleBlockBuffer>(iBuilder, iBuilder->getStreamTy()));
     174    auto errors = pxDriver.addBuffer(make_unique<CircularBuffer>(iBuilder, iBuilder->getStreamTy(), segmentSize * bufferSegments));
    175175
    176176    pxDriver.makeKernelCall(bm, {BasisBits}, {matches, errors});
Note: See TracChangeset for help on using the changeset viewer.