CppCon 2019 has ended
Friday, September 20 • 13:30 - 14:30
Faster Code Through Parallelism on CPUs and GPUs

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Ever since multicore CPUs became widely available, programmers have been working to get compute-intensive code to run in parallel and take advantage of CPU hardware parallelism. This effort has continued in the era of general-purpose programming on GPUs. There are many approaches to parallelizing C++ code on multicore CPUs or GPUs. C++11 threads, OpenMP or OpenACC pragmas, CUDA, and class libraries like Kokkos are among the options. The C++17 standard introduced parallel versions of standard algorithms, offering an approach that is fully portable across C++17 implementations and supports both CPUs and GPUs. This talk will survey many of these approaches and compare them for ease of use, clarity of the code, and performance. It will include an overview of the current state of implementations of C++17 parallel algorithms in different compilers.

avatar for David Olsen

David Olsen

Software engineer, NVIDIA
David Olsen has more than two decades of software development experience in a variety of programming languages and development environments. For the last seven years he has been the lead engineer for the NVIDIA HPC C++ compiler, focusing on running standard parallel algorithms on... Read More →

Friday September 20, 2019 13:30 - 14:30 MDT
Crest 4/5