Changeset 5393


Ignore:
Timestamp:
Apr 5, 2017, 12:14:18 PM (2 years ago)
Author:
lindanl
Message:

Bug fix

File:
1 edited

Legend:

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

    r5386 r5393  
    304304        byteStream = new ExternalFileBuffer(iBuilder, iBuilder->getStreamSetTy(1, 8));
    305305        cast<ExternalFileBuffer>(byteStream)->setStreamSetBuffer(inputStream);
    306         sourceK = new kernel::MMapSourceKernel(iBuilder, segmentSize * bufferSegments);
     306        sourceK = new kernel::MMapSourceKernel(iBuilder, segmentSize);
    307307        sourceK->generateKernel({}, {byteStream});
    308308        sourceK->setInitialArguments({fileSize});
Note: See TracChangeset for help on using the changeset viewer.