Ignore:
Timestamp:
Feb 2, 2018, 2:49:08 PM (15 months ago)
Author:
nmedfort
Message:

Revised pipeline structure to better control I/O rates

File:
1 edited

Legend:

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

    r5793 r5856  
    203203        // a MultiBlock kernel will select the *maximum* input item count as it's
    204204        // principle item length and zero-extend the streams accordingly.
     205
     206        CanTerminateEarly,
     207
     208        // Indicates that this kernel can call setTerminationSignal() to terminate the
     209        // kernel prior to processing all of its input streams.
    205210
    206211    };
     
    255260    friend Attribute ConditionalRegionBegin();
    256261    friend Attribute ConditionalRegionEnd();
     262    friend Attribute CanTerminateEarly();
    257263
    258264    Attribute(const KindId kind, const unsigned k) : mKind(kind), mAmount(k) { }
     
    343349}
    344350
     351inline Attribute CanTerminateEarly() {
     352    return Attribute(Attribute::KindId::CanTerminateEarly, 0);
     353}
     354
    345355}
    346356
Note: See TracChangeset for help on using the changeset viewer.