November 2015
Intermediate to advanced
352 pages
9h 45m
English
This appendix covers the basics of C programming that provides our jumping off point for CUDA programming. We start from scratch with a general description of the C language and then cover the procedures for creating, compiling, and executing C language apps. By the end of the appendix, we will have fully discussed dist_v1 and dist_v2, the two distance apps that will serve as our initial examples for parallelization with CUDA.
Here is the very short version of the three basic characteristics of the C programming language you need to know about:
• C is a compiled language, so we will write code in a version of C that is recognizable to humans (i.e., the code consists of familiar-looking ...
Read now
Unlock full access