Ignore:
Timestamp:
Nov 6, 2016, 8:37:11 PM (3 years ago)
Author:
nmedfort
Message:

Initial work on adding types to PabloAST and mutable Var objects.

File:
1 edited

Legend:

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

    r5195 r5202  
    2424// 1 as the number of blocks to do.
    2525void stdOutKernel::generateDoBlockMethod() {
    26     IDISA::IDISA_Builder::InsertPoint savePoint = iBuilder->saveIP();
     26    auto savePoint = iBuilder->saveIP();
    2727    Module * m = iBuilder->getModule();
    2828    Function * doBlockFunction = m->getFunction(mKernelName + doBlock_suffix);
     
    3838// doSegment method, writes the entire segment with a single write call.
    3939void stdOutKernel::generateDoSegmentMethod() {
    40     IDISA::IDISA_Builder::InsertPoint savePoint = iBuilder->saveIP();
     40    auto savePoint = iBuilder->saveIP();
    4141    Module * m = iBuilder->getModule();
    4242    Function * writefn = create_write(m);
     
    104104
    105105void stdOutKernel::generateFinalBlockMethod() {
    106     IDISA::IDISA_Builder::InsertPoint savePoint = iBuilder->saveIP();
     106    auto savePoint = iBuilder->saveIP();
    107107    Module * m = iBuilder->getModule();
    108108    Function * writefn = create_write(m);
     
    118118    Value * processed = getProcessedItemCount(self);
    119119    Value * itemsAvail = iBuilder->CreateSub(producerPos, processed);
    120     Value * segmentNo = getLogicalSegmentNo(self);
     120//    Value * segmentNo = getLogicalSegmentNo(self);
    121121    Value * blockNo = getScalarField(self, blockNoScalar);
    122122    Value * basePtr = getStreamSetBlockPtr(self, "codeUnitBuffer", blockNo);
Note: See TracChangeset for help on using the changeset viewer.