Changeset 5513 for icGREP


Ignore:
Timestamp:
Jun 15, 2017, 8:00:17 PM (23 months ago)
Author:
cameron
Message:

setCapacity for memory source kernel

File:
1 edited

Legend:

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

    r5503 r5513  
    346346    kb->setBaseAddress("sourceBuffer", kb->CreatePointerCast(kb->getScalarField("fileSource"), kb->getVoidPtrTy()));
    347347    kb->setBufferedSize("sourceBuffer", kb->getScalarField("fileSize"));
     348    kb->setCapacity("sourceBuffer", kb->getScalarField("fileSize"));
    348349}
    349350
Note: See TracChangeset for help on using the changeset viewer.