DPC++ Runtime
Runtime libraries for oneAPI DPC++
syclcompat::experimental::group< GroupT, dimensions > Class Template Reference

Container type that can store supported group_types. More...

#include <syclcompat/util.hpp>

Inheritance diagram for syclcompat::experimental::group< GroupT, dimensions >:
Collaboration diagram for syclcompat::experimental::group< GroupT, dimensions >:

Public Member Functions

 group (GroupT g, sycl::nd_item< dimensions > item)
 
- Public Member Functions inherited from syclcompat::experimental::group_base< 3 >
 group_base (sycl::nd_item< dimensions > item)
 
 ~group_base ()
 
size_t get_local_linear_range ()
 Returns the number of work-items in the group. More...
 
size_t get_local_linear_id ()
 Returns the index of the work-item within the group. More...
 
void barrier ()
 Wait for all the elements within the group to complete their execution before proceeding. More...
 

Additional Inherited Members

- Protected Attributes inherited from syclcompat::experimental::group_base< 3 >
logical_group< dimensions > logical_group
 
sycl::nd_item< dimensions > nd_item
 
group_type type
 

Detailed Description

template<typename GroupT, int dimensions = 3>
class syclcompat::experimental::group< GroupT, dimensions >

Container type that can store supported group_types.

Definition at line 902 of file util.hpp.

Constructor & Destructor Documentation

◆ group()

template<typename GroupT , int dimensions = 3>
syclcompat::experimental::group< GroupT, dimensions >::group ( GroupT  g,
sycl::nd_item< dimensions >  item 
)
inline

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