data.buffer.pipelined

Copyright: (c) Microsoft Corporation. All rights reserved.


template <typename T>
class pipelined_variable §

Pass a variable between consecutive threads X and X+1.

Parameters

  • typename T
    

    Variable type.

Methods

  • inline T next(T input) §
    

    Feed in a new value and push the old value down. This should typically be called exactly once per thread.

template <typename T, auto N>
class pipelined_variable_array §

Pass a variable between N consecutive threads X to X + N.

Parameters

  • typename T
    

    Variable type.

  • auto N
    

    Number of threads.

Methods

  • inline T[N] next(T input) §
    

    Feed in a new value and push the old values down. This should typically be called exactly once per thread.