Ignore:
Timestamp:
Jun 11, 2017, 9:41:57 PM (23 months ago)
Author:
cameron
Message:

Progress on multi-block kernels, including support for SourceBuffers?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/source_kernel.cpp

    r5501 r5503  
    6464    size->addIncoming(pageSize, emptyFile);
    6565    size->addIncoming(fileSize, nonEmptyFile);
    66 
    6766    kb->setBaseAddress("sourceBuffer", buffer);
    6867    kb->setBufferedSize("sourceBuffer", size);
    6968    kb->setScalarField("readableBuffer", buffer);
    7069    kb->setScalarField("fileSize", fileSize);
     70    kb->setCapacity("sourceBuffer", fileSize);
    7171    kb->CreateMAdvise(buffer, fileSize, CBuilder::ADVICE_WILLNEED);
    7272
Note: See TracChangeset for help on using the changeset viewer.