¶template <typename F>
inline void for_each_contiguous_chunk(
const nd_copy_layout& layout,
F&& f)
template <typename F>
inline void for_each_contiguous_chunk(
const nd_copy_layout& layout,
F&& f)
Description
For every contiguous chunk in an nd-copy, invoke f(byte_offset_in_source, byte_offset_in_dest, chunk_bytes)
.
Template Parameters
- F
Parameters
- const nd_copy_layout& layout
- F&& f