xetla nbarrier definition API. More...
#include <raw_send_nbarrier.hpp>
Public Member Functions | |
| __XETLA_API void | init_nbarrier (uint8_t nbarrier_id, nbarrier_role role=nbarrier_role::producer_consumer) |
| __XETLA_API void | arrive () |
| named barrier signal from subgroup. | |
| __XETLA_API void | wait () |
| named barrier wait within subgroup. | |
| __XETLA_API void | arrive_wait () |
| named barrier signal from subgroup. | |
Public Attributes | |
| xetla_vector< uint32_t, 16 > | nbar |
| Description of named barrier objection. | |
| uint32_t | barrier_id |
xetla nbarrier definition API.
This is the API to define a named barrier within subgroup.
| num_producers | is the number of subgroups participating the barrier as producer. |
| num_consumers | is the number of subgroups participating the barrier as consumer. |
|
inline |
named barrier signal from subgroup.
| bar | is the named barrier object. |
|
inline |
named barrier signal from subgroup.
|
inline |
| role | is the role of subgroup when participating the barrier. |
| nbarrier_id | [in] is the id of the barrier. note: all subgroups participating the barrier should have the same barrier_id. Here is the bspec link https://gfxspecs.intel.com/Predator/Home/Index/54006 |
|
inline |
named barrier wait within subgroup.
| uint32_t gpu::xetla::xetla_nbarrier_t< num_producers, num_consumers, arch_tag >::barrier_id |
| xetla_vector<uint32_t, 16> gpu::xetla::xetla_nbarrier_t< num_producers, num_consumers, arch_tag >::nbar |
Description of named barrier objection.
Structure is defined in here.