Ignore:
Timestamp:
Sep 28, 2016, 11:37:21 AM (3 years ago)
Author:
lindanl
Message:

Tiny fix of error message.

File:
1 edited

Legend:

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

    r5165 r5171  
    3939    }
    4040    if (mStreamSetOutputs.size() != mStreamSetOutputBuffers.size()) {
    41         throw std::runtime_error("Kernel preparation: Incorrect number of input buffers");
     41        throw std::runtime_error("Kernel preparation: Incorrect number of output buffers");
    4242    }
    4343    addScalar(iBuilder->getSizeTy(), blockNoScalar);
     
    5959    for (unsigned i = 0; i < mStreamSetOutputs.size(); i++) {
    6060        if (!(mStreamSetOutputBuffers[i]->getBufferStreamSetType() == mStreamSetOutputs[i].ssType)) {
    61              throw std::runtime_error("Kernel preparation: Incorrect input buffer type");
     61             throw std::runtime_error("Kernel preparation: Incorrect output buffer type");
    6262        }
    6363        mScalarInputs.push_back(ScalarBinding{mStreamSetOutputBuffers[i]->getStreamSetStructPointerType(), mStreamSetOutputs[i].ssName + basePtrSuffix});
     
    436436
    437437}
    438 
    439 
Note: See TracChangeset for help on using the changeset viewer.