Device Memory Routines (GNU libgomp) (original) (raw)
Next: Lock Routines, Previous: Device Information Routines, Up: OpenMP Runtime Library Routines [Contents][Index]
3.7 Device Memory Routines ¶
Routines related to memory allocation and managing corresponding pointers on devices. They have C linkage and do not throw exceptions.
- omp_target_alloc – Allocate device memory
- omp_target_free – Free device memory
- omp_target_is_present – Check whether storage is mapped
- omp_target_is_accessible – Check whether memory is device accessible
- omp_target_memcpy – Copy data between devices
- omp_target_memcpy_async – Copy data between devices asynchronously
- omp_target_memcpy_rect – Copy a subvolume of data between devices
- omp_target_memcpy_rect_async – Copy a subvolume of data between devices asynchronously
- omp_target_associate_ptr – Associate a device pointer with a host pointer
- omp_target_disassociate_ptr – Remove device–host pointer association
- omp_get_mapped_ptr – Return device pointer to a host pointer