Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
uni20::iteration_offset_range Struct Reference

Inclusive range of handle-relative offsets visited by an iteration plan. More...

#include <iteration_plan.hpp>

Public Member Functions

constexpr bool empty () const noexcept
 Report whether the iteration visits no offsets.
 

Public Attributes

std::ptrdiff_t maximum = 0
 
std::ptrdiff_t minimum = 0
 

Detailed Description

Inclusive range of handle-relative offsets visited by an iteration plan.

An empty range has minimum > maximum.

Member Function Documentation

◆ empty()

constexpr bool uni20::iteration_offset_range::empty ( ) const
inlineconstexprnoexcept

Report whether the iteration visits no offsets.

Member Data Documentation

◆ maximum

std::ptrdiff_t uni20::iteration_offset_range::maximum = 0

◆ minimum

std::ptrdiff_t uni20::iteration_offset_range::minimum = 0

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