main RAM , CUDA memmory cooperate

hello

How can cooprerate main memmory and CUDA memmory . Main - ram , cache CPU , cache GPU , RAM - GPU ?

In general, they do not cooperate too much. It is the programmers job to keep track of which pointers and optimize the transfers between gpu and cpu.