In terms of an operating system, does a GPU have some type of software on it to manage virtual memory, or context switching?

And in terms of hardware, does it have some type of caching system, or a TLB?

  • Please specify what you're trying to do and what GPU hardware you're using, by clicking on edit and adding the extremely useful information to your original question, so all can see it. Comments like this are intended to help you shape and refine your question post to zero in on what you want so we can provide the most useful answer. – K7AAY Dec 5 '18 at 18:56
  • 1
    CPUs don’t have an operation system. – Ramhound Dec 5 '18 at 19:08
  • Did you mean GPUs? – K7AAY Dec 5 '18 at 22:38

Different GPUs handle this differently, as documented here. The Pascal series of GPUs share memory with the OS so there's no separate virtual memory.

  • Pascal most definitely has dedicated video memory (VRAM). However, DX12, CUDA, Vulcan handle controlling the GPU. – Ramhound Dec 5 '18 at 19:10
  • Dedicated VRAM? Yes. Virtual? Not as Windows or *ix knows virtual (i.e., swapfiles). – K7AAY Dec 5 '18 at 22:37

Not the answer you're looking for? Browse other questions tagged or ask your own question.