Ignore:
Timestamp:
Nov 18, 2016, 1:46:55 PM (2 years ago)
Author:
nmedfort
Message:

Merged PabloFunction? and PabloKernel? classes. Updated projects where necessary.

File:
1 edited

Legend:

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

    r5203 r5217  
    4141        out << "kernel contains " << mStreamSetInputBuffers.size() << " input buffers for "
    4242            << mStreamSetInputs.size() << " input stream sets.";
    43         llvm::report_fatal_error(out.str());
     43        throw std::runtime_error(out.str());
    4444    }
    4545    if (mStreamSetOutputs.size() != mStreamSetOutputBuffers.size()) {
     
    4848        out << "kernel contains " << mStreamSetOutputBuffers.size() << " output buffers for "
    4949            << mStreamSetOutputs.size() << " output stream sets.";
    50         llvm::report_fatal_error(out.str());
     50        throw std::runtime_error(out.str());
    5151    }
    5252    addScalar(iBuilder->getSizeTy(), blockNoScalar);
     
    187187        Value * ssStructPtr = getStreamSetStructPtr(self, mStreamSetInputs[i].name);
    188188        inbufProducerPtrs.push_back(mStreamSetInputBuffers[i]->getProducerPosPtr(ssStructPtr));
    189         endSignalPtrs.push_back(mStreamSetInputBuffers[i]->hasEndOfInputPtr(ssStructPtr));
     189        endSignalPtrs.push_back(mStreamSetInputBuffers[i]->getEndOfInputPtr(ssStructPtr));
    190190    }
    191191   
     
    453453        inbufProducerPtrs.push_back(mStreamSetInputBuffers[i]->getProducerPosPtr(ssStructPtr));
    454454        inbufConsumerPtrs.push_back(mStreamSetInputBuffers[i]->getConsumerPosPtr(ssStructPtr));
    455         endSignalPtrs.push_back(mStreamSetInputBuffers[i]->hasEndOfInputPtr(ssStructPtr));
     455        endSignalPtrs.push_back(mStreamSetInputBuffers[i]->getEndOfInputPtr(ssStructPtr));
    456456    }
    457457    for (unsigned i = 0; i < mStreamSetOutputs.size(); i++) {
Note: See TracChangeset for help on using the changeset viewer.