Chapter 24 Conclusion and future outlook
Chapter 24 Conclusion and future outlook
CHAPTER
Conclusion and future outlook
CONTENTS 24.1 Goals revisited . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577 24.2 Future outlook. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 578 You made it! We have arrived at the finishing line. In this final chapter, we will briefly review the learning goals that you have achieved through this book. Instead of drawing a conclusion, we will offer our vision for the future of massively parallel computing and how its advancements will impact the future course of science and technology.
You made it! We have arrived at the finishing line. In this final chapter, we will briefly review the learning goals that you have achieved through this book. Instead of drawing a conclusion, we will offer our vision for the future of massively parallel computing and how its advancements will impact the future course of science and technology.
24.1 Goals revisited
As we stated in the Introduction, our primary goal is to teach you, the reader, how to program massively parallel processors. We promised that it would become easy once you develop the right intuition and go about it the right way. In particular, we promised to focus on computational thinking skills that would enable you to think about problems in ways that are amenable to parallel computing. We also promised to focus on the factors that limit the performance of parallel applications and provide a systematic approach for optimizing code to overcome these factors. We delivered on these promises through three steps. In step one, Chapter 2 to Chapter 6 introduced the essential concepts of parallel computing and CUDA C++, and the key performance considerations in developing massively parallel code in CUDA. They also introduce the pertinent computer architecture concepts needed to understand the hardware limitations that must be addressed in high-performance parallel programming. With this knowledge, a developer can be confident in writing their parallel code and reasoning about the relative merit of alternative threading arrangements, loop structures, data arrangements, and coding styles. We conclude this part with a checklist of common optimization techniques that we apply throughout the rest of the book to optimize the performance of various parallel patterns and applications. In the second step, we introduce major parallel patterns (Chapter 7 to Chapter 15) that have been proven useful in introducing parallelism into many applications. These chapters cover the concepts behind the most useful patterns of parallel computation. Programming Massively Parallel Processors. https://doi.org/10.1016/B978-0-44-343900-1.00035-4 Copyright © 2027 Elsevier Inc. All rights are reserved, including those for text and data mining, AI training, and similar technologies.
FIGURE 24.1. From G80 to B200, a 18-year comparison.
Each pattern is illustrated with concrete code examples. Each pattern is also used to introduce important techniques for overcoming frequently encountered parallelization and performance obstacles in parallel programming. We also use these patterns to showcase how the optimizations introduced in the first step can be applied in a wide variety of scenarios. In the third step, we introduce additional advanced patterns and applications (Chapter 16 to Chapter 23) to reinforce the knowledge and skills gained in the previous step. While in this step, we continue to apply the optimizations that we practiced in the previous step, we put more emphasis on exploring alternative forms of problem decomposition to enable parallelization and analyze the trade-offs between different decompositions and their associated data structures. Chapter 22 in this step is dedicated to recap the computational thinking skills that help the reader to generalize the concepts learned in the previous chapters into the high-level thinking required to tackle a new problem. With these insights, high-performance parallel programming becomes a reasoning process, rather than a black art. We hope that you have enjoyed the book and agree with us that you are now well equipped for programming massively parallel computing systems.
24.2 Future outlook
Since the introduction of the first CUDA-enabled GPU, the G80, in 2007, the capability of GPUs as massively computing devices has improved at an amazing 638× in computing throughput and 93× in memory bandwidth, as shown in Fig. 24.1. These advancements have stimulated tremendous progress in HPC, AI, and data analytics for both science and engineering, with significant impact on many vertical areas such as finance, manufacturing, and medicine. For example, as we have seen in Chapter 19 and Chapter 20, GPUs have ignited a revolution in deep learning from very large data sets, with applications in image recognition, speech recognition, and video analytics.
While the performance growth of individual GPUs has been extremely impressive, the number of GPUs that collaborate through network communication to complete a single job has been increasing at an even more impressive rate since 2017. The extreme computation complexity for training Large Language Models has motivated leading tech companies to use tens or even hundreds of thousands of GPUs in each training job. These leading tech companies have been referred to as the hyperscalers because of the extreme scale of their data centers. This explosive growth of the number of GPUs that work together in data centers has driven fast advancement of networking hardware and software. For example, we introduced NCCL in Chapter 23, a new communication library that has been used extensively in training LLMs in hyperscaler data centers. Since the first edition of this book in 2010, the field of parallel computing has also advanced at an amazing pace. The spectrum of problems that can be solved with scalable algorithms has broadened significantly. While the use of GPUs was initially concentrated on regular dense matrix computation and Monte Carlo methods, their use has quickly expanded into sparse methods and graph computation. In many areas, there has also been fast advancement in algorithms. Some of the algorithms presented in the parallel pattern, advanced patterns, and applications chapters represent significant recent advancements. It is only natural for some to wonder if we have reached the end of the fast advancement in parallel computing. From all indications, the answer is a definitely no. We are most likely in the middle of the parallel computing revolution. The amazing advancement in computing in the past three decades has triggered a paradigm shift in the industry. The major innovations used to be driven by physical instruments assisted by computing devices. They are now driven by computing assisted by physical instruments. For example, two decades ago, GPS revolutionized the way we drive. GPS is primarily based on satellite signal sensing assisted by computing methods that determine the shortest path between two locations. More recently, peer reporting and computing through the map apps in the phones and data services in the cloud have further enabled drivers to change their routes based on the traffic condition. Today, the most exciting revolution in the automobile industry is self-driving cars, which is primarily based on machine-learning computing methods assisted by physical sensors. For another example, MRI and PET revolutionized medicine in the past two decades. These technologies are primarily based on electromagnetic and light sensors assisted by computational image reconstruction methods. They allowed doctors to see the pathology inside human bodies without surgery. Today, the field of medicine is going through the revolution of individualized medicine, which is primarily driven by deep learning models and computational genomics methods assisted by medical and genomic instruments. For yet another example, the semiconductor industry used to rely on advancement in physical light sources assisted by computing methods that enforce design rules in their push to reduce the device feature size in the manufacturing process. Today, the advancement in physical light sources has practically stopped. The advancement infeature size reduction is primarily driven by lithography masks that are computationally designed to orchestrate the interference of light waves to result in extremely precise etching patterns on the chips. The same kind of paradigm shift has been taking place in many other areas such as content authoring, drug discovery, and weather/climate forecasting. Computing has become the primary driving force for virtually all exciting innovations in our society. This has created an insatiable demand for faster computing systems. As we discussed in Chapter 1, parallel computing is the only viable approach to the growth of computing performance. This powerful demand will continue to motivate the industry to innovate and create more powerful parallel computing devices. One of the highest potential areas for improvement is the level of parallelism in accessing storage data, which has been done with a very low level of parallelism in history. This advancement can accelerate databases and other data-intensive applications that have been lagging in terms of innovation. Radical improvements in the precision and speed in extracting relevant portions of massive storage data will likely inspire a whole generation of applications that we currently cannot even imagine. In conclusion, we are in the middle of a golden age of computing. The industry will continue to recruit and reward highly skilled parallel programmers. Your work will make a real difference in the field of your choice. Enjoy the ride!
Part 4: Appendices