Alternative VE Offloading
2.7.6
|
VE heterogeneous memory API functions. More...
Functions | |
int | veo_is_ve_addr (const void *addr) |
check the address More... | |
void * | veo_get_hmem_addr (void *addr) |
get a virtual address of VE or VH memory without identifier allocated by veo_alloc_hmem(). More... | |
VE heterogeneous memory API functions.
Include "ve_offload.h" header from VH program. Specify -lveo when you link VH program. Include "veo_hmem.h" header from VH program. Specify -lveohmem when you link VE program.
int veo_is_ve_addr | ( | const void * | addr | ) |
check the address
This function determines if the address is allocated by veo_alloc_hmem().
addr | a pointer to virtual address |
void* veo_get_hmem_addr | ( | void * | addr | ) |
get a virtual address of VE or VH memory without identifier allocated by veo_alloc_hmem().
addr | a pointer to virtual address of VE or VH memory |