xpu
xpu::openmp_settings< Schedule, ChunkSize > Struct Template Reference

OpenMP settings for kernels. More...

Static Public Attributes

static constexpr schedule_t schedule = Schedule
 OpenMP schedule type. More...
 
static constexpr size_t chunk_size = ChunkSize
 Chunk size. Use 0 for default value from OpenMP. More...
 

Detailed Description

template<schedule_t Schedule = schedule_static, size_t ChunkSize = 0>
struct xpu::openmp_settings< Schedule, ChunkSize >

OpenMP settings for kernels.

Member Data Documentation

◆ chunk_size

template<schedule_t Schedule = schedule_static, size_t ChunkSize = 0>
constexpr size_t xpu::openmp_settings< Schedule, ChunkSize >::chunk_size = ChunkSize
staticconstexpr

Chunk size. Use 0 for default value from OpenMP.

◆ schedule

template<schedule_t Schedule = schedule_static, size_t ChunkSize = 0>
constexpr schedule_t xpu::openmp_settings< Schedule, ChunkSize >::schedule = Schedule
staticconstexpr

OpenMP schedule type.


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