Changeset 5064 for icGREP/icgrep-devel


Ignore:
Timestamp:
Jun 19, 2016, 4:24:06 PM (3 years ago)
Author:
cameron
Message:

Fix for long advances

Location:
icGREP/icgrep-devel/icgrep/pablo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pablo_compiler.cpp

    r5063 r5064  
    8888        iBuilder->CreateBlockAlignedStore(f->second, outputSet_ptr, {iBuilder->getInt32(0), iBuilder->getInt32(j)});
    8989    }
     90    mKernelBuilder->setScalarField(mSelf, "BlockNo", iBuilder->CreateAdd(mKernelBuilder->getScalarField(mSelf, "BlockNo"), iBuilder->getInt64(1)));
    9091    iBuilder->CreateRetVoid();
    9192
  • icGREP/icgrep-devel/icgrep/pablo/pablo_kernel.cpp

    r5063 r5064  
    2121                    {},
    2222                    {},
    23                     {ScalarBinding{builder->getBitBlockType(), "EOFmark"}}),
     23                    {ScalarBinding{builder->getInt64Ty(), "BlockNo"},
     24                     ScalarBinding{builder->getBitBlockType(), "EOFmark"}}),
    2425    mPabloFunction(function) {
    2526    unsigned output_streams = function->getNumOfResults();
Note: See TracChangeset for help on using the changeset viewer.