Alternative VE Offloading
2.10.0
|
Copyright (C) 2021 NEC Corporation This file is part of the AVEO. 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... | |
Copyright (C) 2021 NEC Corporation This file is part of the AVEO.
The AVEO is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
The AVEO is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with the AVEO; if not, see http://www.gnu.org/licenses/.
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 |