Ignore:
Timestamp:
Feb 3, 2017, 1:25:53 PM (2 years ago)
Author:
nmedfort
Message:

Partial removal of BlockNo?

File:
1 edited

Legend:

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

    r5292 r5297  
    1111namespace kernel {
    1212
    13 void EvenOddKernel::generateDoBlockMethod(Value * blockNo) {
     13void EvenOddKernel::generateDoBlockMethod() {
    1414    Value * even = iBuilder->simd_fill(64, iBuilder->getInt64(0x5555555555555555));
    1515    Value * odd = iBuilder->bitCast(iBuilder->simd_fill(8, iBuilder->getInt8(0xAA)));
    16     Value * evenBitsPtr = getStream("even_odd", blockNo, iBuilder->getInt32(0));
     16    Value * evenBitsPtr = getOutputStream("even_odd", iBuilder->getInt32(0));
    1717    iBuilder->CreateBlockAlignedStore(even, evenBitsPtr);
    18     Value * oddBitsPtr = getStream("even_odd", blockNo, iBuilder->getInt32(1));
     18    Value * oddBitsPtr = getOutputStream("even_odd", iBuilder->getInt32(1));
    1919    iBuilder->CreateBlockAlignedStore(odd, oddBitsPtr);
    2020}
Note: See TracChangeset for help on using the changeset viewer.