Clarification on GPU-CPU Buffer Access #6051
killer-of-Plato
started this conversation in
General
Replies: 1 comment 8 replies
-
As far as I know this is the main reason. The native APIs support persistent mapping so we could update our implementation to internally no-op unmap calls but this would have to be driven by some perf numbers showing that unmap (but excluding flush) is expensive. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I have a need for frequent high-performance transmission of consistently sized data from the GPU to the CPU. From my understanding, this process involves repeatedly mapping and unmapping intermediate buffers.
I am curious if there is a technical constraint that prevents simultaneous GPU and CPU access to a mapped buffer, assuming competent synchronization is in place. Is this limitation primarily a safeguard against potential issues (foot-gunning), or are there deeper technical reasons behind this restriction?
Thank you for your insights!
Beta Was this translation helpful? Give feedback.
All reactions