¶inline nd_copy_layout layout_nd_copy(
const range<3>& source_range,
const range<3>& dest_range,
const id<3>& offset_in_source,
const id<3>& offset_in_dest,
const range<3>& copy_range,
size_t elem_size)
inline nd_copy_layout layout_nd_copy(
const range<3>& source_range,
const range<3>& dest_range,
const id<3>& offset_in_source,
const id<3>& offset_in_dest,
const range<3>& copy_range,
size_t elem_size)
Description
Computes the minimum number of complex strides required to describe a box-shaped copy between box-shaped allocations.
Declared at: include/nd_memory.h:67
Parameters
- const range<3>& source_range
- const range<3>& dest_range
- const id<3>& offset_in_source
- const id<3>& offset_in_dest
- const range<3>& copy_range
- size_t elem_size