Ignore:
Timestamp:
Feb 10, 2017, 3:55:14 PM (2 years ago)
Author:
nmedfort
Message:

Removed BlockNo? + updated LookAhead? to use getInputStream.

File:
1 edited

Legend:

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

    r5307 r5311  
    8181    Constant * Const4 = iBuilder->getSize(4);
    8282    Constant * tripleBlockSize = iBuilder->getSize(3 * iBuilder->getStride());
    83     Constant * stride = iBuilder->getSize(iBuilder->getStride());
    8483    Constant * packSize = iBuilder->getSize(PACK_SIZE);
    8584    Constant * triplePackSize = iBuilder->getSize(3 * PACK_SIZE); // 3 packs per loop.
     
    161160    setProcessedItemCount("sourceStream", processed);
    162161   
    163     setBlockNo(iBuilder->CreateUDiv(processed, stride));
    164162    // We have produced 4 output bytes for every 3 input bytes.
    165163    Value * totalProduced = iBuilder->CreateMul(iBuilder->CreateUDiv(processed, Const3), Const4);
     
    235233    setProcessedItemCount("sourceStream", processed);
    236234
    237     setBlockNo(iBuilder->CreateUDiv(processed, stride));
    238235    // We have produced 4 output bytes for every 3 input bytes.  If the number of input
    239236    // bytes is not a multiple of 3, then we have one more output byte for each excess
Note: See TracChangeset for help on using the changeset viewer.