CUDA for Engineers: An Introduction to High-Performance Parallel Computing
by Mete Yurtoglu, Duane Storti
Chapter 1. First Steps
The goal of this chapter is to get you to plunge right into the world of parallel computing with CUDA. We’ll start by running a sample app provided with the CUDA Toolkit. The sample app provides both serial and parallel implementations so you can compare performance measures to get an initial feel for how CUDA can enhance your computing capabilities. Note that the procedures for building and executing apps depend on your operating system, and we’ll provide enough detail to get the sample running under Windows and Linux/OS X. At the end of the chapter, we present two simple C apps that will provide initial candidates for parallelization with CUDA.
This chapter contains several crucial checkpoints that direct you to the appendices ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access