On 6/3/21 11:26 AM, Thomas Monjalon wrote: > 03/06/2021 09:49, Andrew Rybchenko: >> On 6/3/21 10:26 AM, Thomas Monjalon wrote: >>> 03/06/2021 09:06, Andrew Rybchenko: >>>> On 6/2/21 11:35 PM, Thomas Monjalon wrote: >>>>> + * Allocate a chunk of memory on the GPU. >>>> >>>> Looking a below function it is required to clarify here if >>>> the memory is visible or invisible to GPU (or both allowed). >>> >>> This function allocates on the GPU so it is visible by the GPU. >>> I feel I misunderstand your question. >> >> Below function says rte_gpu_malloc_visible() and its >> description highlights that allocated memory is visible to GPU. >> My problem that I don't understand what's the difference >> between these two functions. > > One function allocates in GPU mem, the other allows the GPU to use CPU mem.
Ah, I see no. G looks like C and I've not noticed the difference. Now it is clear. My bad.