¶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.
Parameters
¶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
spanning source_box
to allocation dest_base
spanning dest_box
, copy copy_box
elements of elem_size
bytes.
Parameters
¶inline void nd_copy_host(
const void* source_base,
void* dest_base,
const box<3>& source_box,
const box<3>& dest_box,
const region<3>& copy_region,
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 region<3>& copy_region,
size_t elem_size)
Description
From allocation source_base
spanning source_box
to allocation dest_base
spanning dest_box
, copy copy_region
elements of elem_size
bytes.