Changeset 4940 for icGREP


Ignore:
Timestamp:
Feb 23, 2016, 10:52:25 AM (3 years ago)
Author:
cameron
Message:

Use mBlockSize instead of 128

File:
1 edited

Legend:

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

    r4939 r4940  
    150150    iBuilder->SetInsertPoint(pipeline_Unterminated_block);
    151151
    152     Value * remaining = iBuilder->CreateZExt(remaining_phi, iBuilder->getIntNTy(128));
    153     Value * EOF_pos = iBuilder->CreateShl(ConstantInt::get(iBuilder->getIntNTy(128), 1), remaining);
     152    Value * remaining = iBuilder->CreateZExt(remaining_phi, iBuilder->getIntNTy(mBlockSize));
     153    Value * EOF_pos = iBuilder->CreateShl(ConstantInt::get(iBuilder->getIntNTy(mBlockSize), 1), remaining);
    154154    EOF_pos = iBuilder->CreateBitCast(EOF_pos, mBitBlockType);
    155155
Note: See TracChangeset for help on using the changeset viewer.