batchlas::BatchedNdRangeSizes Struct Reference

Overview

Result of compute_batched_nd_range_sizes().

Definition at line 35 of file kernel-heuristics.hh.

#include <batchlas/util/kernel-heuristics.hh>

Variables

◆ global_size

size_t batchlas::BatchedNdRangeSizes::global_size

total work-items, a multiple of local_size

Definition at line 36 of file kernel-heuristics.hh.

◆ local_size

size_t batchlas::BatchedNdRangeSizes::local_size

work-group size

Definition at line 37 of file kernel-heuristics.hh.

◆ use_grid_stride

bool batchlas::BatchedNdRangeSizes::use_grid_stride

the kernel must grid-stride: global_size was capped below the total work

Definition at line 38 of file kernel-heuristics.hh.