A game loop architecture for the GPU used as a math coprocessor in real-time applications
Instituto de Computacao, Universidade Federal Fluminense, Brazil
Comput. Entertain., Vol. 6, No. 3. (2008), pp. 1-19
This article concerns the use of a graphics processor unit (GPU) as a math co-processor in real-time applications in special games and physics simulations. To validate this approach, we present a new game loop architecture that employs GPUs for general-purpose computations (GPGPUs). A critical issue here is the process distribution between the CPU and the GPU. The architecture consists of a model for distribution, and our implementation offers many advantages in comparison to other approaches without the GPGPU stage. This architecture can be used either by a general-purpose language such as the Compute Unified Device Architecture (CUDA), or shader languages such as the High-Level Shader Language (HLSL) and the OpenGL Shading Language (GLSL).
December 9, 2010 by hgpu