Ignore:
Timestamp:
Aug 28, 2017, 4:00:17 PM (2 years ago)
Author:
nmedfort
Message:

Bug fixes for multigrep mode. Optional PabloKernel? branch hit counter added. Minor optimizations.

File:
1 edited

Legend:

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

    r5601 r5620  
    6363    //Round up to a multiple of 3.
    6464    const unsigned initSegSize = ((codegen::SegmentSize + 2)/3) * 3;
    65     const unsigned bufferSize = initSegSize * 4/3 * codegen::BufferSegments;
     65    const unsigned bufferSize = (4 * initSegSize * codegen::BufferSegments) / 3;
    6666
    6767    StreamSetBuffer * ByteStream = pxDriver.addBuffer(make_unique<SourceBuffer>(iBuilder, iBuilder->getStreamSetTy(1, 8)));
Note: See TracChangeset for help on using the changeset viewer.