Ignore:
Timestamp:
Apr 10, 2017, 4:34:41 PM (2 years ago)
Author:
nmedfort
Message:

Moved toolchain and object_cache to kernels directory. Continued work on providing input consumed information.

File:
1 edited

Legend:

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

    r5401 r5402  
    104104    params.insert(params.end(), mStreamSetInputs.size() + mStreamSetOutputs.size(), sizeTy);
    105105
    106     Type * retType = nullptr;
    107     if (mStreamSetInputs.empty()) {
    108         retType = iBuilder->getVoidTy();
    109     } else {
    110         retType = ArrayType::get(sizeTy, mStreamSetInputs.size());
    111     }
    112 
    113     FunctionType * const doSegmentType = FunctionType::get(retType, params, false);
     106    FunctionType * const doSegmentType = FunctionType::get(iBuilder->getVoidTy(), params, false);
    114107    Function * doSegment = Function::Create(doSegmentType, GlobalValue::ExternalLinkage, getName() + DO_SEGMENT_SUFFIX, client);
    115108    doSegment->setCallingConv(CallingConv::C);
Note: See TracChangeset for help on using the changeset viewer.