Ignore:
Timestamp:
Jun 11, 2016, 9:38:04 PM (3 years ago)
Author:
cameron
Message:

Kernel interfaces initial check-in

Location:
icGREP/icgrep-devel/icgrep/kernels
Files:
2 added
1 edited

Legend:

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

    r5044 r5047  
    3434    if (mSegmentSize == 0) return
    3535        iBuilder->CreateGEP(getStreamSetBlockType(), mStreamSetBufferPtr, {blockNo});
    36     Value * offset = iBuilder->CreateURem(blockNo, iBuilder->getInt32(mSegmentSize));
     36    Value * offset = iBuilder->CreateURem(blockNo, iBuilder->getInt64(mSegmentSize));
    3737    return iBuilder->CreateGEP(getStreamSetBlockType(), mStreamSetBufferPtr, {offset});
    3838}
Note: See TracChangeset for help on using the changeset viewer.