Changeset 5077 for icGREP


Ignore:
Timestamp:
Jun 27, 2016, 10:02:41 AM (3 years ago)
Author:
cameron
Message:

Correction for segment processing

File:
1 edited

Legend:

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

    r5076 r5077  
    3838        iBuilder->CreateGEP(getStreamSetBlockType(), mStreamSetBufferPtr, {blockNo});
    3939    Value * offset = iBuilder->CreateURem(blockNo, iBuilder->getInt64(mSegmentSize));
    40     return iBuilder->CreateGEP(getStreamSetBlockType(), mStreamSetBufferPtr, {iBuilder->getInt64(0), offset});
     40    return iBuilder->CreateGEP(getStreamSetBlockType(), mStreamSetBufferPtr, {offset});
    4141}
    4242
Note: See TracChangeset for help on using the changeset viewer.