Ignore:
Timestamp:
Mar 30, 2017, 1:22:39 PM (2 years ago)
Author:
nmedfort
Message:

Bug fixes for last check in

File:
1 edited

Legend:

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

    r5377 r5379  
    318318}
    319319
    320 llvm::Value * KernelBuilder::reserveItemCount(llvm::Value * instance, const std::string & name, llvm::Value * value) const {
     320void KernelBuilder::reserveBytes(llvm::Value * instance, const std::string & name, llvm::Value * value) const {
    321321    assert ("instance cannot be null!" && instance);
    322322    Value * itemCount = getProducedItemCount(instance, name);
    323323    const StreamSetBuffer * const buf = getOutputStreamSetBuffer(name);
    324     return buf->reserveItemCount(getStreamSetBufferPtr(name), itemCount, value);
     324    buf->reserveBytes(getStreamSetBufferPtr(name), itemCount, value);
    325325}
    326326
Note: See TracChangeset for help on using the changeset viewer.