Ignore:
Timestamp:
Dec 6, 2017, 5:41:27 PM (17 months ago)
Author:
nmedfort
Message:

Bug fixes + more assertions to prevent similar errors.

File:
1 edited

Legend:

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

    r5755 r5757  
    102102}
    103103
    104 Value * StreamSetBuffer::getCapacity(IDISA::IDISA_Builder * const b, Value * const handle) const {
    105     return getBufferedSize(b, handle);
     104Value * StreamSetBuffer::getCapacity(IDISA::IDISA_Builder * const b, Value * const /* handle */) const {
     105    return b->getSize(mBufferBlocks * b->getBitBlockWidth());
    106106}
    107107
     
    330330}
    331331
     332Value * ExternalBuffer::getCapacity(IDISA::IDISA_Builder * const b, Value * const /* handle */) const {
     333    return ConstantInt::getAllOnesValue(b->getSizeTy());
     334}
     335
     336
    332337// Circular Buffer
    333338Value * CircularBuffer::getBlockAddress(IDISA::IDISA_Builder * const b, Value * const handle, Value * const blockIndex) const {
Note: See TracChangeset for help on using the changeset viewer.