Ignore:
Timestamp:
Apr 2, 2017, 4:17:51 PM (2 years ago)
Author:
nmedfort
Message:

Minor changes in preparation of incorporating a consumed stream set position into select kernels.

File:
1 edited

Legend:

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

    r5389 r5390  
    123123}
    124124
    125 void StreamSetBuffer::releaseBuffer(Value * /* self */) {
     125void StreamSetBuffer::releaseBuffer(Value * /* self */) const {
    126126    /* do nothing: memory is stack allocated */
    127127}
     
    200200}
    201201
    202 void ExtensibleBuffer::releaseBuffer(Value * self) {
     202void ExtensibleBuffer::releaseBuffer(Value * self) const {
    203203    Value * const sizePtr = iBuilder->CreateGEP(self, {iBuilder->getInt32(0), iBuilder->getInt32(0)});
    204204    Value * size = iBuilder->CreateLoad(sizePtr);
     
    446446}
    447447
    448 void ExpandableBuffer::releaseBuffer(Value * self) {
     448void ExpandableBuffer::releaseBuffer(Value * self) const {
    449449    iBuilder->CreateAlignedFree(getBaseAddress(self));
    450450}
Note: See TracChangeset for help on using the changeset viewer.