Skip to Content
CUDA Programming
book

CUDA Programming

by Shane Cook
December 2012
Intermediate to advanced
600 pages
18h 19m
English
Morgan Kaufmann
Content preview from CUDA Programming

Chapter 10

Libraries and SDK

Introduction

Writing programs directly in CUDA is not the only option available to people wishing to speed up their work by making use of GPUs. There are three broad ways of developing applications for CUDA:

• Using libraries

• Directive-based programming

• Writing CUDA kernels directly

We’ll look at each of these in turn and when you should apply them.

Libraries

Libraries are useful components that can save you weeks or months of development effort. It makes perfect sense to use libraries where possible because, generally, they are developed by experts in their particular field and thus are both reliable and fast. Some of the more common, and free, libraries are as follows:

• Thrust—An implementation of the C++ ...

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.
Start your free trial

You might also like

The CUDA Handbook: A Comprehensive Guide to GPU Programming

The CUDA Handbook: A Comprehensive Guide to GPU Programming

Nicholas Wilt
Professional CUDA C Programming

Professional CUDA C Programming

John Cheng, Max Grossman, Ty McKercher

Publisher Resources

ISBN: 9780124159334