Ignore:
Timestamp:
Nov 6, 2016, 8:37:11 PM (3 years ago)
Author:
nmedfort
Message:

Initial work on adding types to PabloAST and mutable Var objects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/deletion.h

    r5133 r5202  
    3333llvm::Value * apply_parallel_prefix_deletion(IDISA::IDISA_Builder * iBuilder, unsigned fw, llvm::Value * del_mask, std::vector<llvm::Value *> mv, llvm::Value * strm);
    3434
    35 using namespace kernel;
    3635using namespace parabix;
    3736
    38 class deletionKernel : public kernel::KernelBuilder {
     37namespace kernel {
     38
     39class DeletionKernel : public kernel::KernelBuilder {
    3940public:
    40     deletionKernel(IDISA::IDISA_Builder * iBuilder, unsigned fw, unsigned streamCount) :
     41    DeletionKernel(IDISA::IDISA_Builder * iBuilder, unsigned fw, unsigned streamCount) :
    4142    KernelBuilder(iBuilder, "del",
    42                   {StreamSetBinding{StreamSetType(streamCount + 2, 1), "inputStreamSet"}},
    43                   {StreamSetBinding{StreamSetType(streamCount, 1), "outputStreamSet"},
    44                    StreamSetBinding{StreamSetType(1, 1), "deletionCounts"}},
     43                  {Binding{StreamSetType(iBuilder,streamCount + 2, 1), "inputStreamSet"}},
     44                  {Binding{StreamSetType(iBuilder,streamCount, 1), "outputStreamSet"},
     45                   Binding{StreamSetType(iBuilder,1, 1), "deletionCounts"}},
    4546                  {}, {}, {}),
    4647    mDeletionFieldWidth(fw),
     
    5354    unsigned mStreamCount;
    5455};
     56
     57}
    5558   
    5659#endif
Note: See TracChangeset for help on using the changeset viewer.