Ignore:
Timestamp:
Dec 9, 2017, 5:05:16 PM (15 months ago)
Author:
nmedfort
Message:

Minor changes and hopefully a fix for bug exposed by base64 test

File:
1 edited

Legend:

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

    r5761 r5771  
    232232    Value * const bytesRead = b->CreateReadCall(fd, sourceBuffer, bytesToRead);
    233233    Value * const itemsRead = b->CreateUDiv(bytesRead, codeUnitBytes);
    234     b->CreateAssert(b->CreateICmpULE(itemsRead, itemsToRead), "read more items than expected");
    235234    Value * const itemsBuffered = b->CreateAdd(buffered, itemsRead);
    236235    b->setBufferedSize("sourceBuffer", itemsBuffered);
Note: See TracChangeset for help on using the changeset viewer.