GPGPU Programming for Games and Science
Title | GPGPU Programming for Games and Science PDF eBook |
Author | David H. Eberly |
Publisher | CRC Press |
Pages | 471 |
Release | 2014-08-15 |
Genre | Computers |
ISBN | 1466595353 |
An In-Depth, Practical Guide to GPGPU Programming Using Direct3D 11 GPGPU Programming for Games and Science demonstrates how to achieve the following requirements to tackle practical problems in computer science and software engineering: Robustness Accuracy Speed Quality source code that is easily maintained, reusable, and readable The book primarily addresses programming on a graphics processing unit (GPU) while covering some material also relevant to programming on a central processing unit (CPU). It discusses many concepts of general purpose GPU (GPGPU) programming and presents practical examples in game programming and scientific programming. The author first describes numerical issues that arise when computing with floating-point arithmetic, including making trade-offs among robustness, accuracy, and speed. He then shows how single instruction multiple data (SIMD) extensions work on CPUs since GPUs also use SIMD. The core of the book focuses on the GPU from the perspective of Direct3D 11 (D3D11) and the High Level Shading Language (HLSL). This chapter covers drawing 3D objects; vertex, geometry, pixel, and compute shaders; input and output resources for shaders; copying data between CPU and GPU; configuring two or more GPUs to act as one; and IEEE floating-point support on a GPU. The book goes on to explore practical matters of programming a GPU, including code sharing among applications and performing basic tasks on the GPU. Focusing on mathematics, it next discusses vector and matrix algebra, rotations and quaternions, and coordinate systems. The final chapter gives several sample GPGPU applications on relatively advanced topics. Web Resource Available on a supporting website, the author’s fully featured Geometric Tools Engine for computing and graphics saves you from having to write a large amount of infrastructure code necessary for even the simplest of applications involving shader programming. The engine provides robust and accurate source code with SIMD when appropriate and GPU versions of algorithms when possible.
GPU PRO 360 Guide to GPGPU
Title | GPU PRO 360 Guide to GPGPU PDF eBook |
Author | Wolfgang Engel |
Publisher | CRC Press |
Pages | 381 |
Release | 2018-10-31 |
Genre | Computers |
ISBN | 1351052098 |
Wolfgang Engel’s GPU Pro 360 Guide to GPGPU gathers all the cutting-edge information from his previous seven GPU Pro volumes into a convenient single source anthology that covers general purpose GPU. This volume is complete with 19 articles by leading programmers that focus on the techniques that go beyond the normal pixel and triangle scope of GPUs and take advantage of the parallelism of modern graphics processors to accomplish such tasks. GPU Pro 360 Guide to GPGPU is comprised of ready-to-use ideas and efficient procedures that can help solve many computer graphics programming challenges that may arise. Key Features: Presents tips & tricks on real-time rendering of special effects and visualization data on common consumer software platforms such as PCs, video consoles, mobile devices Covers specific challenges involved in creating games on various platforms Explores the latest developments in rapidly evolving field of real-time rendering Takes practical approach that helps graphics programmers solve their daily challenges
GPGPU-10
Title | GPGPU-10 PDF eBook |
Author | |
Publisher | |
Pages | 84 |
Release | |
Genre | Graphics processing units |
ISBN |
Annotation PPoPP '17: 22nd ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming Feb 04, 2017-Feb 08, 2017 Austin, USA. You can view more information about this proceeding and all of ACM� s other published conference proceedings from the ACM Digital Library: http://www.acm.org/dl.
Performance Analysis and Tuning for General Purpose Graphics Processing Units (GPGPU)
Title | Performance Analysis and Tuning for General Purpose Graphics Processing Units (GPGPU) PDF eBook |
Author | Hyesoon Kim |
Publisher | Morgan & Claypool Publishers |
Pages | 99 |
Release | 2012 |
Genre | Computers |
ISBN | 1608459543 |
General-purpose graphics processing units (GPGPU) have emerged as an important class of shared memory parallel processing architectures, with widespread deployment in every computer class from high-end supercomputers to embedded mobile platforms. Relative to more traditional multicore systems of today, GPGPUs have distinctly higher degrees of hardware multithreading (hundreds of hardware thread contexts vs. tens), a return to wide vector units (several tens vs. 1-10), memory architectures that deliver higher peak memory bandwidth (hundreds of gigabytes per second vs. tens), and smaller caches/scratchpad memories (less than 1 megabyte vs. 1-10 megabytes). In this book, we provide a high-level overview of current GPGPU architectures and programming models. We review the principles that are used in previous shared memory parallel platforms, focusing on recent results in both the theory and practice of parallel algorithms, and suggest a connection to GPGPU platforms. We aim to provide hints to architects about understanding algorithm aspect to GPGPU. We also provide detailed performance analysis and guide optimizations from high-level algorithms to low-level instruction level optimizations. As a case study, we use n-body particle simulations known as the fast multipole method (FMM) as an example. We also briefly survey the state-of-the-art in GPU performance analysis tools and techniques.
GPU Gems 2
Title | GPU Gems 2 PDF eBook |
Author | Matt Pharr |
Publisher | Addison-Wesley Professional |
Pages | 814 |
Release | 2005 |
Genre | Computers |
ISBN | 9780321335593 |
More useful techniques, tips, and tricks for harnessing the power of the new generation of powerful GPUs.
Fast and Accurate Finite-Element Multigrid Solvers for PDE Simulations on GPU Clusters
Title | Fast and Accurate Finite-Element Multigrid Solvers for PDE Simulations on GPU Clusters PDF eBook |
Author | Dominik Göddeke |
Publisher | Logos Verlag Berlin GmbH |
Pages | 300 |
Release | 2011 |
Genre | Computers |
ISBN | 3832527680 |
This dissertation demonstrates that graphics processors (GPUs) as representatives of emerging many-core architectures are very well-suited for the fast and accurate solution of large, sparse linear systems of equations, using parallel multigrid methods on heterogeneous compute clusters. Such systems arise for instance in the discretisation of (elliptic) partial differential equations with finite elements. Fine-granular parallelisation techniques and methods to ensure accuracy are developed that enable at least one order of magnitude speedup over highly-tuned conventional CPU implementations, without sacrificing neither accuracy nor functionality.
Performance Analysis and Tuning for General Purpose Graphics Processing Units (GPGPU)
Title | Performance Analysis and Tuning for General Purpose Graphics Processing Units (GPGPU) PDF eBook |
Author | Hyesoon Kim |
Publisher | Springer Nature |
Pages | 88 |
Release | 2022-05-31 |
Genre | Technology & Engineering |
ISBN | 3031017374 |
General-purpose graphics processing units (GPGPU) have emerged as an important class of shared memory parallel processing architectures, with widespread deployment in every computer class from high-end supercomputers to embedded mobile platforms. Relative to more traditional multicore systems of today, GPGPUs have distinctly higher degrees of hardware multithreading (hundreds of hardware thread contexts vs. tens), a return to wide vector units (several tens vs. 1-10), memory architectures that deliver higher peak memory bandwidth (hundreds of gigabytes per second vs. tens), and smaller caches/scratchpad memories (less than 1 megabyte vs. 1-10 megabytes). In this book, we provide a high-level overview of current GPGPU architectures and programming models. We review the principles that are used in previous shared memory parallel platforms, focusing on recent results in both the theory and practice of parallel algorithms, and suggest a connection to GPGPU platforms. We aim to provide hints to architects about understanding algorithm aspect to GPGPU. We also provide detailed performance analysis and guide optimizations from high-level algorithms to low-level instruction level optimizations. As a case study, we use n-body particle simulations known as the fast multipole method (FMM) as an example. We also briefly survey the state-of-the-art in GPU performance analysis tools and techniques. Table of Contents: GPU Design, Programming, and Trends / Performance Principles / From Principles to Practice: Analysis and Tuning / Using Detailed Performance Analysis to Guide Optimization