Ignore:
Timestamp:
Dec 20, 2017, 11:42:53 AM (18 months ago)
Author:
nmedfort
Message:

Bug fix for pipeline: it was terminating too early when there was insufficient output space to process all of the input for a kernel.

File:
1 edited

Legend:

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

    r5755 r5793  
    175175LZ4ByteStreamDecoderKernel::LZ4ByteStreamDecoderKernel(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, size_t bufferSize)
    176176: MultiBlockKernel("lz4ByteStreamDecoder",
    177     // Inputs
    178     {Binding{iBuilder->getStreamSetTy(2, 32), "literalIndexes"},
    179      Binding{iBuilder->getStreamSetTy(2, 32), "matchIndexes"},
    180      Binding{iBuilder->getStreamSetTy(1, 8), "inputStream", FixedRate(), { Deferred(), LookBehind(65536) }}},
    181     // Outputs
    182     {Binding{iBuilder->getStreamSetTy(1, 8), "outputStream", UnknownRate()}},
    183     // Arguments
    184     {},
    185     {},
    186     {}),
    187  mBufferSize(bufferSize) {
    188     setNoTerminateAttribute(true);
     177// Inputs
     178{Binding{iBuilder->getStreamSetTy(2, 32), "literalIndexes"},
     179 Binding{iBuilder->getStreamSetTy(2, 32), "matchIndexes"},
     180 Binding{iBuilder->getStreamSetTy(1, 8), "inputStream", FixedRate(), { Deferred(), Misaligned(), LookBehind(65536) }}},
     181// Outputs
     182{Binding{iBuilder->getStreamSetTy(1, 8), "outputStream", UnknownRate()}},
     183// Arguments
     184{},
     185{},
     186{})
     187, mBufferSize(bufferSize) {
     188
    189189}
     190
     191
Note: See TracChangeset for help on using the changeset viewer.