Ignore:
Timestamp:
Jul 23, 2016, 1:04:44 PM (3 years ago)
Author:
cameron
Message:

Use dynamic size_t determination

File:
1 edited

Legend:

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

    r5103 r5106  
    5353   
    5454    std::vector<Type *> doBlockParameters = {selfType};
    55     std::vector<Type *> finalBlockParameters = {selfType, iBuilder->getInt64Ty()};
     55    std::vector<Type *> finalBlockParameters = {selfType, iBuilder->getSizeTy()};
    5656    /*
    5757    for (auto inputSet : mStreamSetInputs) {
     
    109109    */
    110110    // Create the doSegment function prototype.
    111     std::vector<Type *> doSegmentParameters = {selfType, iBuilder->getInt64Ty()};
     111    std::vector<Type *> doSegmentParameters = {selfType, iBuilder->getSizeTy()};
    112112    FunctionType * doSegmentFunctionType = FunctionType::get(mDoBlockReturnType, doSegmentParameters, false);
    113113    std::string doSegmentName = mKernelName + doSegment_suffix;
Note: See TracChangeset for help on using the changeset viewer.