Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::flow::interface9::gfx_async_msg< T > Class Template Reference

#include <gfx_factory.h>

Inheritance diagram for tbb::flow::interface9::gfx_async_msg< T >:
Collaboration diagram for tbb::flow::interface9::gfx_async_msg< T >:

Public Types

typedef gfx_offload::task_id_type kernel_id_type
 
- Public Types inherited from tbb::flow::interface10::async_msg< T >
typedef T async_msg_data_type
 

Public Member Functions

 gfx_async_msg ()
 
 gfx_async_msg (const T &input_data)
 
T & data ()
 
const T & data () const
 
void set_task_id (kernel_id_type id)
 
kernel_id_type task_id () const
 
- Public Member Functions inherited from tbb::flow::interface10::async_msg< T >
 async_msg ()
 
 async_msg (const T &t)
 
 async_msg (T &&t)
 
virtual ~async_msg ()
 
void set (const T &t)
 
void set (T &&t)
 

Private Attributes

my_data
 
kernel_id_type my_task_id
 

Additional Inherited Members

- Protected Member Functions inherited from tbb::flow::interface10::async_msg< T >
virtual void finalize () const
 

Detailed Description

template<typename T>
class tbb::flow::interface9::gfx_async_msg< T >

Definition at line 142 of file gfx_factory.h.

Member Typedef Documentation

◆ kernel_id_type

Definition at line 144 of file gfx_factory.h.

Constructor & Destructor Documentation

◆ gfx_async_msg() [1/2]

template<typename T>
tbb::flow::interface9::gfx_async_msg< T >::gfx_async_msg ( )
inline

Definition at line 146 of file gfx_factory.h.

146 : my_task_id(0) {}

◆ gfx_async_msg() [2/2]

template<typename T>
tbb::flow::interface9::gfx_async_msg< T >::gfx_async_msg ( const T &  input_data)
inline

Definition at line 147 of file gfx_factory.h.

Member Function Documentation

◆ data() [1/2]

template<typename T>
T& tbb::flow::interface9::gfx_async_msg< T >::data ( )
inline

◆ data() [2/2]

template<typename T>
const T& tbb::flow::interface9::gfx_async_msg< T >::data ( ) const
inline

◆ set_task_id()

template<typename T>
void tbb::flow::interface9::gfx_async_msg< T >::set_task_id ( kernel_id_type  id)
inline

Definition at line 152 of file gfx_factory.h.

152 { my_task_id = id; }
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function void size_t int ITT_FORMAT d __itt_heap_function void ITT_FORMAT p __itt_heap_function void void size_t int ITT_FORMAT d no args no args unsigned int ITT_FORMAT u const __itt_domain __itt_id id

References id, and tbb::flow::interface9::gfx_async_msg< T >::my_task_id.

Referenced by tbb::flow::interface9::gfx_factory::set_kernel_id_arg().

Here is the caller graph for this function:

◆ task_id()

template<typename T>
kernel_id_type tbb::flow::interface9::gfx_async_msg< T >::task_id ( ) const
inline

Definition at line 153 of file gfx_factory.h.

153 { return my_task_id; }

References tbb::flow::interface9::gfx_async_msg< T >::my_task_id.

Member Data Documentation

◆ my_data

template<typename T>
T tbb::flow::interface9::gfx_async_msg< T >::my_data
private

Definition at line 156 of file gfx_factory.h.

Referenced by tbb::flow::interface9::gfx_async_msg< T >::data().

◆ my_task_id


The documentation for this class was generated from the following file:

Copyright © 2005-2019 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.