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!
Already subscribed? Log in!
Programming with CUDA
Article included in this offer
"Electronics"
(
262 articles
)
Updated and enriched with articles validated by our scientific committees
A set of exclusive tools to complement the resources
Bibliography
(books, articles, symposium proceedings, theses and dissertations, referred to in the text as – and therefore numbered – or not)
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!