Visible to Intel only — GUID: GUID-5A7FCC1A-BE10-4303-862B-DC77C023193C
Visible to Intel only — GUID: GUID-5A7FCC1A-BE10-4303-862B-DC77C023193C
task_group extensions
Description
oneAPI Threading Building Blocks (oneTBB) implementation extends the tbb::task_group specification with the requirements for a user-provided function object.
API
Header
#include <oneapi/tbb/task_group.h>
Synopsis
namespace oneapi { namespace tbb { class task_group { public: //only the requirements for the return type of function F are changed template<typename F> task_handle defer(F&& f); //only the requirements for the return type of function F are changed template<typename F> task_group_status run_and_wait(const F& f); //only the requirements for the return type of function F are changed template<typename F> void run(F&& f); }; } // namespace tbb } // namespace oneapi
Member Functions
template<typenameF>task_handledefer(F&&f)
As an optimization hint, F might return a task_handle, which task object can be executed next.
template<typenameF>task_group_statusrun_and_wait(constF&f)
As an optimization hint, F might return a task_handle, which task object can be executed next.
template<typenameF>voidrun(F&&f)
As an optimization hint, F might return a task_handle, which task object can be executed next.
See also