4. Programming with CUDA
Here, we take a brief look at the various features of the CUDA language and its programming. For further information, please refer to the documentation supplied with your CUDA installation.
4.1 Language extensions
-
Functions
CUDA defines a series of keywords used to indicate whether a function is executable in the graphics card (device) or in the CPU (host):
__device__ indicates a function that can be called from the graphics card and executed on the graphics card;
__global__ indicates a function that can only be called from the CPU and executed on the graphics card;
__host__ indicates a function...
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference
This article is included in
Electronics
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
Programming with CUDA
Bibliography
(books, articles, symposium proceedings, theses and dissertations, referred to in the text as – and therefore numbered – or not)
Websites
(portals, personal pages, forums, discussion lists)
HARRIS Mark General-Purpose Computation on Graphics Hardware http://gpgpu.org/ (page accessed September 20, 2015). The most important site on the subject with news, forums and tutorials.
NVIDIA Corporation CUDA Zone – The resource for CUDA developers...
Events
(conferences, trade shows, symposia, study days)
Conference and exhibition: The International Conference for High Performance Computing, Networking, Storage, and Analysis (SuperComputing) http://www.sc-conference.org takes place every year, presenting trends and innovations in high-performance computing.
...Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference