Ignore:
Timestamp:
Oct 14, 2016, 10:07:07 AM (3 years ago)
Author:
cameron
Message:

Fixes for NVPTX (but strideBlocks needs further investigation), u8u16

File:
1 edited

Legend:

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

    r5192 r5193  
    222222    generateDoBlockLogic(self, blockNo);
    223223    setBlockNo(self, iBuilder->CreateAdd(blockNo, strideBlocks));
    224     blocksRemaining->addIncoming(iBuilder->CreateSub(blocksRemaining, strideBlocks), blockLoopBody);
     224    blocksRemaining->addIncoming(iBuilder->CreateSub(blocksRemaining, ConstantInt::get(size_ty, 1)), blockLoopBody);
    225225    iBuilder->CreateBr(blockLoopCond);
    226226   
Note: See TracChangeset for help on using the changeset viewer.