Developer Guide

Contents

task_sequence
Template Parameters and Function APIs

The following table summarizes the
task_sequence
template parameters and function APIs:
task_sequence
Template Parameters
Template Parameter
Description
auto &f typename ReturnT, typename... ArgsT, ReturnT (&f)(ArgsT...)
Callable
f
that defines the asynchronous task to be associated with the
task_sequence
.
uint32_t invocation_capacity
The size of the hardware queue instantiated for
async()
function calls.
uint32_t response_capacity
The size of the hardware queue instantiated to hold task function results.
task_sequence
Function APIs
Function API
Description
void async(ArgsT... Args)
Asynchronously calls
f
with
Args
. Increments the number of outstanding tasks by 1.
ReturnT get()
Synchronously retrieves the result of an asynchronous call.
~task_sequence()
Destructor for
task_sequence
.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.