You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do we need to call
fd = open("/sys/class/u-dma-buf/udmabuf0/sync_for_device", O_WRONLY)) != -1)
once before mmap ? or any special care need to be taken for manual cache management ?
The text was updated successfully, but these errors were encountered:
In this example, sync_for_device()/sync_for_cpu() is inside the loop because it runs multiple times to calculate the average time it takes to process it.
Do we need to call
fd = open("/sys/class/u-dma-buf/udmabuf0/sync_for_device", O_WRONLY)) != -1)
once before mmap ? or any special care need to be taken for manual cache management ?
The text was updated successfully, but these errors were encountered: