Searched refs:ptr_1 (Results 1 – 1 of 1) sorted by relevance
68 void *ptr_1 = NULL; in alloc_gpu_memory() local77 ptr_1 = rte_gpu_mem_alloc(gpu_id, buf_bytes, 0); in alloc_gpu_memory()78 if (ptr_1 == NULL) { in alloc_gpu_memory()83 ptr_1, buf_bytes); in alloc_gpu_memory()99 ret = rte_gpu_mem_free(gpu_id, (uint8_t *)(ptr_1)+0x700); in alloc_gpu_memory()102 (uint8_t *)(ptr_1)+0x700); in alloc_gpu_memory()105 (uint8_t *)(ptr_1)+0x700); in alloc_gpu_memory()116 ret = rte_gpu_mem_free(gpu_id, ptr_1); in alloc_gpu_memory()121 printf("GPU memory 0x%p freed\n", ptr_1); in alloc_gpu_memory()128 rte_gpu_mem_free(gpu_id, ptr_1); in alloc_gpu_memory()