logoalt Hacker News

jacobgormyesterday at 11:29 PM1 replyview on HN

CUDA is not an API, CUDA is a language, so you cannot make that comparison.


Replies

essephyesterday at 11:49 PM

> The CUDA runtime is a special case of one of the libraries provided by the CUDA Toolkit. The CUDA runtime provides both an API and some language extensions to handle common tasks such as allocating memory, copying data between GPUs and other GPUs or CPUs, and launching kernels. The API components of the CUDA runtime are referred to as the CUDA runtime API.

From: https://docs.nvidia.com/cuda/cuda-programming-guide/01-intro...