Ignore:
Timestamp:
Jul 21, 2016, 6:55:49 AM (3 years ago)
Author:
cameron
Message:

getStreamSetBlockPtr

File:
1 edited

Legend:

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

    r5074 r5105  
    3434
    3535using namespace kernel;
     36using namespace parabix;
    3637
    3738class deletionKernel : public kernel::KernelBuilder {
    3839public:
    39     deletionKernel(IDISA::IDISA_Builder * iBuilder, unsigned fw, unsigned stream_count) :
     40    deletionKernel(IDISA::IDISA_Builder * iBuilder, unsigned fw, unsigned streamCount,
     41                   StreamSetBuffer & inputStreamSet,
     42                   StreamSetBuffer & outputStreamSet,
     43                   StreamSetBuffer & deletionCounts) :
    4044    KernelBuilder(iBuilder, "del",
    41                   {StreamSetBinding{StreamSetType(stream_count + 2, 1), "inputStreamSet"}},
    42                   {StreamSetBinding{StreamSetType(stream_count, 1), "outputStreamSet"}, StreamSetBinding{StreamSetType(1, 1), "deletionCounts"}},
     45                  {StreamSetBinding{inputStreamSet, "inputStreamSet"}},
     46                  {StreamSetBinding{outputStreamSet, "outputStreamSet"},
     47                   StreamSetBinding{deletionCounts, "deletionCounts"}},
    4348                  {}, {}, {}),
    4449    mDeletionFieldWidth(fw),
    45     mStreamCount(stream_count) {}
     50    mStreamCount(streamCount) {}
    4651   
    4752private:
Note: See TracChangeset for help on using the changeset viewer.