¶inline void nd_copy_host(
const void* source_base,
void* dest_base,
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 void nd_copy_host(
const void* source_base,
void* dest_base,
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
From allocation source_base
sized source_range
starting at offset_in_source
, to allocation dest_base
sized dest_range
starting at to offset_in_dest
, copy copy_range
elements of elem_size
bytes.
Declared at: include/nd_memory.h:156
Parameters
- const void* source_base
- void* dest_base
- 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 void nd_copy_host(const void* source_base,
void* dest_base,
const box<3>& source_box,
const box<3>& dest_box,
const box<3>& copy_box,
size_t elem_size)
inline void nd_copy_host(const void* source_base,
void* dest_base,
const box<3>& source_box,
const box<3>& dest_box,
const box<3>& copy_box,
size_t elem_size)
Description
From allocation source_base
indexed by source_layout
to allocation dest_base
indexed by dest_layout
, copy copy_box
elements of elem_size
bytes.
Declared at: include/nd_memory.h:166
Parameters
- const void* source_base
- void* dest_base
- const box<3>& source_box
- const box<3>& dest_box
- const box<3>& copy_box
- size_t elem_size
¶inline void nd_copy_host(
const void* source_base,
void* dest_base,
const region_layout& source_layout,
const region_layout& dest_layout,
const region<3>& copy_region,
size_t elem_size)
inline void nd_copy_host(
const void* source_base,
void* dest_base,
const region_layout& source_layout,
const region_layout& dest_layout,
const region<3>& copy_region,
size_t elem_size)
Description
From allocation source_base
indexed by source_layout
to allocation dest_base
indexed by dest_layout
, copy copy_region
elements of elem_size
bytes.
Declared at: include/nd_memory.h:177
Parameters
- const void* source_base
- void* dest_base
- const region_layout& source_layout
- const region_layout& dest_layout
- const region<3>& copy_region
- size_t elem_size