Programming with CUDA
General purpose computing on graphics processor. From rendering to massively parallel computing
Article REF: TE5990 V2
Programming with CUDA
General purpose computing on graphics processor. From rendering to massively parallel computing

Author : Dominique HOUZET

Publication date: August 10, 2016, Review date: September 27, 2023 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

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...

You do not have access to this resource.
Logo Techniques de l'Ingenieur

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?


Article included in this offer

"Electronics"

( 262 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details