struct nd_copy_layout::stride_dimension
Declaration
struct nd_copy_layout::stride_dimension { /* full declaration omitted */ };
Member Variables
- size_t source_stride = 1
- by how many bytes to advance the source pointer after one step in this dimension.
- size_t dest_stride = 1
- by how many bytes to advance the destination pointer after one step in this dimension.
- size_t count = 1
- how many iterations to perform in this dimension.
Friend Function Overview
- operator!=(const stride_dimension & lhs, const stride_dimension & rhs) → friend bool
- operator==(const stride_dimension & lhs, const stride_dimension & rhs) → friend bool
Friend Functions
¶friend bool operator!=(
const stride_dimension& lhs,
const stride_dimension& rhs)
friend bool operator!=(
const stride_dimension& lhs,
const stride_dimension& rhs)
Parameters
- const stride_dimension& lhs
- const stride_dimension& rhs
¶friend bool operator==(
const stride_dimension& lhs,
const stride_dimension& rhs)
friend bool operator==(
const stride_dimension& lhs,
const stride_dimension& rhs)
Parameters
- const stride_dimension& lhs
- const stride_dimension& rhs