Ignore:
Timestamp:
Aug 26, 2016, 9:33:51 AM (3 years ago)
Author:
cameron
Message:

Defer binding of buffers to stream sets until kernel generation

File:
1 edited

Legend:

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

    r5105 r5133  
    3838class deletionKernel : public kernel::KernelBuilder {
    3939public:
    40     deletionKernel(IDISA::IDISA_Builder * iBuilder, unsigned fw, unsigned streamCount,
    41                    StreamSetBuffer & inputStreamSet,
    42                    StreamSetBuffer & outputStreamSet,
    43                    StreamSetBuffer & deletionCounts) :
     40    deletionKernel(IDISA::IDISA_Builder * iBuilder, unsigned fw, unsigned streamCount) :
    4441    KernelBuilder(iBuilder, "del",
    45                   {StreamSetBinding{inputStreamSet, "inputStreamSet"}},
    46                   {StreamSetBinding{outputStreamSet, "outputStreamSet"},
    47                    StreamSetBinding{deletionCounts, "deletionCounts"}},
     42                  {StreamSetBinding{StreamSetType(streamCount + 2, 1), "inputStreamSet"}},
     43                  {StreamSetBinding{StreamSetType(streamCount, 1), "outputStreamSet"},
     44                   StreamSetBinding{StreamSetType(1, 1), "deletionCounts"}},
    4845                  {}, {}, {}),
    4946    mDeletionFieldWidth(fw),
Note: See TracChangeset for help on using the changeset viewer.