Ignore:
Timestamp:
Mar 24, 2016, 4:28:31 PM (4 years ago)
Author:
cameron
Message:

casefold sample application/pipeline

File:
1 edited

Legend:

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

    r4986 r4988  
    209209    mDoBlock = Function::Create(functionType, GlobalValue::ExternalLinkage, mKernelName + "_DoBlock", mMod);
    210210    mDoBlock->setCallingConv(CallingConv::C);
    211     mDoBlock->addAttribute(1, Attribute::NoCapture);
    212     mDoBlock->addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone);
    213     mDoBlock->addAttribute(AttributeSet::FunctionIndex, Attribute::NoUnwind);
     211  //  mDoBlock->addAttribute(1, Attribute::NoCapture);
     212 //   mDoBlock->addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone);
     213 //   mDoBlock->addAttribute(AttributeSet::FunctionIndex, Attribute::NoUnwind);
    214214
    215215    Function::arg_iterator args = mDoBlock->arg_begin();
     
    249249    mConstructor->setCallingConv(CallingConv::C);
    250250    mConstructor->addAttribute(1, Attribute::NoCapture);
    251     mConstructor->addAttribute(AttributeSet::FunctionIndex, Attribute::InlineHint);
    252     mConstructor->addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone);
    253     mConstructor->addAttribute(AttributeSet::FunctionIndex, Attribute::NoUnwind);
     251    //mConstructor->addAttribute(AttributeSet::FunctionIndex, Attribute::InlineHint);
     252   // mConstructor->addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone);
     253    //mConstructor->addAttribute(AttributeSet::FunctionIndex, Attribute::NoUnwind);
    254254    auto args = mConstructor->arg_begin();
    255255    mKernelParam = args++;
Note: See TracChangeset for help on using the changeset viewer.