Ignore:
Timestamp:
Jul 4, 2017, 5:39:09 PM (2 years ago)
Author:
cameron
Message:

Use DynamicBuffer? in base64 for testing

File:
1 edited

Legend:

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

    r5504 r5547  
    6969    pxDriver.makeKernelCall(mmapK, {}, {ByteStream});
    7070   
    71     StreamSetBuffer * Expanded3_4Out = pxDriver.addBuffer(make_unique<CircularBuffer>(iBuilder, iBuilder->getStreamSetTy(1, 8), bufferSize));
     71    StreamSetBuffer * Expanded3_4Out = pxDriver.addBuffer(make_unique<DynamicBuffer>(iBuilder, iBuilder->getStreamSetTy(1, 8), bufferSize));
    7272    Kernel * expandK = pxDriver.addKernelInstance(make_unique<expand3_4Kernel>(iBuilder));
    7373    pxDriver.makeKernelCall(expandK, {ByteStream}, {Expanded3_4Out});
    7474   
    75     StreamSetBuffer * Radix64out = pxDriver.addBuffer(make_unique<CircularBuffer>(iBuilder, iBuilder->getStreamSetTy(1, 8), bufferSize));
     75    StreamSetBuffer * Radix64out = pxDriver.addBuffer(make_unique<DynamicBuffer>(iBuilder, iBuilder->getStreamSetTy(1, 8), bufferSize));
    7676    Kernel * radix64K = pxDriver.addKernelInstance(make_unique<radix64Kernel>(iBuilder));
    7777    pxDriver.makeKernelCall(radix64K, {Expanded3_4Out}, {Radix64out});
    7878   
    79     StreamSetBuffer * Base64out = pxDriver.addBuffer(make_unique<CircularBuffer>(iBuilder, iBuilder->getStreamSetTy(1, 8), bufferSize));
     79    StreamSetBuffer * Base64out = pxDriver.addBuffer(make_unique<DynamicBuffer>(iBuilder, iBuilder->getStreamSetTy(1, 8), bufferSize));
    8080    Kernel * base64K = pxDriver.addKernelInstance(make_unique<base64Kernel>(iBuilder));
    8181    pxDriver.makeKernelCall(base64K, {Radix64out}, {Base64out});
Note: See TracChangeset for help on using the changeset viewer.