Why are games single-core bound on CPUs and not multithreaded? I understand why the rendering is offloaded to GPUs but what about other tasks?

279 views

Why are games single-core bound on CPUs and not multithreaded? I understand why the rendering is offloaded to GPUs but what about other tasks?

In: 5

10 Answers

Anonymous 0 Comments

Traditional graphics libraries such as OpenGL are single threaded meaning only one thread can talk to the GPU at one time. This has changed with Vulcan which has multithreading built in.

If most of your code is about rendering, introducing multiple threads into the mix would only add complexity, and that is something you want to avoid at all cost in software projects.

It is common to offload other non-graphical tasks to other threads, and modern game engines have more modern paralell architectures that will better take advantage of multithreaded hardware.

You are viewing 1 out of 10 answers, click here to view all answers.