www.nvidia.com
NVIDIA CUDA Getting Started Guide for Mac OS X DU-05348-001_v6.5|1
Chapter1.
INTRODUCTION
CUDA
®
is a parallel computing platform and programming model invented by NVIDIA.
It enables dramatic increases in computing performance by harnessing the power of the
graphics processing unit (GPU).
CUDA was developed with several design goals in mind:
‣
Provide a small set of extensions to standard programming languages, like C, that
enable a straightforward implementation of parallel algorithms. With CUDA C/C++,
programmers can focus on the task of parallelization of the algorithms rather than
spending time on their implementation.
‣
Support heterogeneous computation where applications use both the CPU and
GPU. Serial portions of applications are run on the CPU, and parallel portions are
offloaded to the GPU. As such, CUDA can be incrementally applied to existing
applications. The CPU and GPU are treated as separate devices that have their own
memory spaces. This configuration also allows simultaneous computation on the
CPU and GPU without contention for memory resources.
CUDA-capable GPUs have hundreds of cores that can collectively run thousands of
computing threads. These cores have shared resources including a register file and a
shared memory. The on-chip shared memory allows parallel tasks running on these
cores to share data without sending it over the system memory bus.
This guide will show you how to install and check the correct operation of the CUDA
development tools.
1.1.System Requirements
To use CUDA on your system, you need to have:
‣
a CUDA-capable GPU
‣
Mac OS X 10.8 or later
‣
the gcc or Clang compiler and toolchain installed using Xcode
‣
the NVIDIA CUDA Toolkit (available from the CUDA Download page)