nm_gpu.h
Go to the documentation of this file.
59static inline void nm_pw_gpu_fill(struct nm_pkt_wrap_s*p_pw, const struct nm_data_properties_s*p_props)
static int nm_data_is_gpu(const struct nm_data_properties_s *p_props)
Definition nm_gpu.h:40
static void nm_pw_gpu_fill(struct nm_pkt_wrap_s *p_pw, const struct nm_data_properties_s *p_props)
fill the GPU flags of a pw.
Definition nm_gpu.h:59
void nm_data_memcpy(void *p_ptr_dest, const void *p_ptr_from, const nm_len_t len)
memcpy without knowing whether memory is on GPU or not; assume unified addressing