Article | REF: TE5990 V2

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

You do not have access to this resource.
Click here to request your free trial access!

Already subscribed? Log in!


Français

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.

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

A Comprehensive Knowledge Base, with over 1,200 authors and 100 scientific advisors
+ More than 10,000 articles and 1,000 how-to sheets, over 800 new or updated articles every year
From design to prototyping, right through to industrialization, the reference for securing the development of your industrial projects

This article is included in

Software technologies and System architectures

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

Subscribe now!

Ongoing reading
Programming with CUDA