Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在具有 GPU 的多核计算机上编写一个简单的 OpenGL 程序。GPU 是一个简单的 GeForce,支持 PhysX、CUDA 和 OpenGL 2.1。当我运行这个程序时,是执行 OpenGL 特定命令的主机 CPU 还是直接传输到 GPU 的?
通常这是您正在使用的驱动程序的功能。如果您只是使用普通 VGA 驱动程序,那么所有 OpenGL 计算都在您的 CPU 上完成。然而,通常情况下,使用现代显卡和生产驱动程序,您的显卡的 GPU 可以在硬件中处理的对 OpenGL 例程的调用是在那里执行的。GPU 无法执行的其他任务则交给 CPU。