Answer the question
In order to leave comments, you need to log in
Which GPU memory is faster, global or constant?
Hello! Of course, the ratios are different for different video cards, we can speak on average.
Which memory is faster and by how much?
Answer the question
In order to leave comments, you need to log in
https://habr.com/ru/post/55461/
Global - the slowest
Constant - one of the fastest
The memory in a video card is not one single block, but a bunch of small ones tied (and even then not linearly) to their processor cores.
It is difficult to understand without understanding the logic of your code when and what will be faster, for example, sequential reading and the same sequential writing are the fastest in the mind, but random access is not as efficient as possible (by an order of magnitude).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question