Ignore:
Timestamp:
Jan 12, 2017, 9:09:58 AM (3 years ago)
Author:
cameron
Message:

Fixes for mmap kernel for blocksPerSegment, codeUnitWidth, new doSegment interface

File:
1 edited

Legend:

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

    r5254 r5255  
    292292    ExternalFileBuffer ByteStream(iBuilder, iBuilder->getStreamSetTy(1, 8));
    293293   
    294     kernel::MMapSourceKernel mmapK(iBuilder, iBuilder->getStride());
     294    kernel::MMapSourceKernel mmapK(iBuilder, segmentSize * bufferSegments);
    295295    mmapK.generateKernel({}, {&ByteStream});
    296296    mmapK.setInitialArguments({fileSize});
Note: See TracChangeset for help on using the changeset viewer.