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/editd/editd_gpu_kernel.h

    r5212 r5217  
    1919public:
    2020   
    21     editdGPUKernel(IDISA::IDISA_Builder * iBuilder, unsigned dist, unsigned pattLen) :
    22     KernelBuilder(iBuilder, "editd_gpu",
    23                   {Binding{parabix::StreamSetType(iBuilder, 4, 1), "CCStream"}},
    24                   {Binding{parabix::StreamSetType(iBuilder, dist+1, 1), "ResultStream"}},
    25                   {Binding{PointerType::get(iBuilder->getInt8Ty(), 1), "pattStream"},
    26                   Binding{PointerType::get(ArrayType::get(iBuilder->getBitBlockType(), pattLen * (dist + 1) * 4), 0), "srideCarry"}},
     21    editdGPUKernel(IDISA::IDISA_Builder * b, unsigned dist, unsigned pattLen) :
     22    KernelBuilder(b, "editd_gpu",
     23                  {Binding{b->getStreamSetTy(4), "CCStream"}},
     24                  {Binding{b->getStreamSetTy(dist + 1), "ResultStream"}},
     25                  {Binding{PointerType::get(b->getInt8Ty(), 1), "pattStream"},
     26                  Binding{PointerType::get(ArrayType::get(b->getBitBlockType(), pattLen * (dist + 1) * 4), 0), "srideCarry"}},
    2727                  {},
    28                   {Binding{iBuilder->getBitBlockType(), "EOFmask"}}),
     28                  {Binding{b->getBitBlockType(), "EOFmask"}}),
    2929    mEditDistance(dist),
    3030    mPatternLen(pattLen){}
Note: See TracChangeset for help on using the changeset viewer.