Post
Topic
Board Mining (Altcoins)
Re: CCminer(SP-MOD) Modded NVIDIA Maxwell kernels.
by
theotherme
on 01/12/2015, 11:01:48 UTC
So it would seem that the CPU needs enough virtual memory to match all the GPU memory in use. I can see a preallocation
strategy being better for speed but if the CPU is swapping to disk it would be slower than dynamic memory allocation.
this memory isn't used anymore once it has been allocated to the vram
While this is technically correct I can tell from experience some drivers will still keep the address range as reserved, apparently this has some benefits for driver mangling (I can see how assuming different range <--> different resource can help).
Beware, CUDA is way more than your GPU or CPU, sometimes it goes through some heavy magic.
hmm... heavy magic...  Grin (well magical stuff is just science which isn't yet understood  Grin Grin)
The compiler has a bit a life on its own and depending how things are written you might see a few magical tricks...  Grin)