Searched refs:ptr_2 (Results 1 – 1 of 1) sorted by relevance
69 void *ptr_2 = NULL; in alloc_gpu_memory() local86 ptr_2 = rte_gpu_mem_alloc(gpu_id, buf_bytes, align); in alloc_gpu_memory()87 if (ptr_2 == NULL) { in alloc_gpu_memory()92 ptr_2, buf_bytes); in alloc_gpu_memory()94 if (((uintptr_t)ptr_2) % align) { in alloc_gpu_memory()95 fprintf(stderr, "Memory address 0x%p is not aligned to %u\n", ptr_2, align); in alloc_gpu_memory()109 ret = rte_gpu_mem_free(gpu_id, ptr_2); in alloc_gpu_memory()114 printf("GPU memory 0x%p freed\n", ptr_2); in alloc_gpu_memory()129 rte_gpu_mem_free(gpu_id, ptr_2); in alloc_gpu_memory()