<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cuda on Le Site de François</title><link>https://lesitedefrancois.be/en/tags/cuda/</link><description>Recent content in Cuda on Le Site de François</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 François</copyright><atom:link href="https://lesitedefrancois.be/en/tags/cuda/index.xml" rel="self" type="application/rss+xml"/><item><title>CUDA (Compute Unified Device Architecture)</title><link>https://lesitedefrancois.be/en/ai/cuda/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://lesitedefrancois.be/en/ai/cuda/</guid><description>&lt;p&gt;&lt;strong&gt;CUDA (Compute Unified Device Architecture)&lt;/strong&gt; is NVIDIA&amp;rsquo;s software platform for general-purpose computing on GPUs. Its objective is to give developers a familiar C/C++ (and Fortran, Python bindings) programming model with explicit control over &lt;strong&gt;kernels&lt;/strong&gt; (functions that run on the device), &lt;strong&gt;streams&lt;/strong&gt; (ordered queues of work), and &lt;strong&gt;memory spaces&lt;/strong&gt; (host, device, unified). CUDA sits above the GPU driver and below frameworks such as cuDNN, NCCL, and higher-level ML stacks; it is the layer that makes it practical to implement custom operators, HPC solvers, and inference engines that are not covered by a closed library. For AI, virtually every major training and inference stack ultimately depends on CUDA (or a CUDA-compatible runtime) on NVIDIA hardware.&lt;/p&gt;</description></item><item><title>cuDNN (CUDA Deep Neural Network library)</title><link>https://lesitedefrancois.be/en/ai/cudnn/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://lesitedefrancois.be/en/ai/cudnn/</guid><description>&lt;p&gt;&lt;strong&gt;cuDNN (CUDA Deep Neural Network library)&lt;/strong&gt; is NVIDIA’s library of highly optimized &lt;strong&gt;GPU kernels&lt;/strong&gt; for operations that dominate deep learning: convolutions, matrix multiplies used in attention, pooling, normalization (batch/layer), activations, and recurrent cells. Its objective is to deliver near-peak performance on &lt;strong&gt;CUDA&lt;/strong&gt;-capable GPUs without every framework author hand-writing assembly-tuned kernels. &lt;strong&gt;PyTorch&lt;/strong&gt;, TensorFlow, and many &lt;strong&gt;inference&lt;/strong&gt; engines call cuDNN (directly or via cuBLAS) under the hood for training and serving. cuDNN sits between raw &lt;strong&gt;CUDA&lt;/strong&gt; and application code; version alignment with the CUDA toolkit and driver is mandatory for supported deployments.&lt;/p&gt;</description></item><item><title>GPU (Graphics Processing Unit)</title><link>https://lesitedefrancois.be/en/ai/gpu/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://lesitedefrancois.be/en/ai/gpu/</guid><description>&lt;p&gt;A &lt;strong&gt;GPU (Graphics Processing Unit)&lt;/strong&gt; is a specialized processor designed to execute a very large number of arithmetic operations in parallel. Its original objective was real-time rendering; in modern &lt;strong&gt;AI&lt;/strong&gt; and &lt;strong&gt;HPC&lt;/strong&gt; infrastructure the same silicon is used to accelerate matrix multiplications, convolutions, and other kernels that dominate neural network training and inference. Unlike a general-purpose host, a GPU optimizes for &lt;strong&gt;throughput&lt;/strong&gt;: many warps or wavefronts hide memory latency while the device keeps SIMD units busy. In a data-center stack, GPUs typically sit in PCIe or NVLink-attached servers (or on integrated AI appliances) and are scheduled by frameworks such as PyTorch, TensorFlow, or vLLM through a runtime such as &lt;strong&gt;CUDA&lt;/strong&gt; or ROCm.&lt;/p&gt;</description></item><item><title>NCCL (NVIDIA Collective Communications Library)</title><link>https://lesitedefrancois.be/en/ai/nccl/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://lesitedefrancois.be/en/ai/nccl/</guid><description>&lt;p&gt;&lt;strong&gt;NCCL (NVIDIA Collective Communications Library)&lt;/strong&gt; implements &lt;strong&gt;collective operations&lt;/strong&gt;—&lt;strong&gt;all-reduce&lt;/strong&gt;, &lt;strong&gt;broadcast&lt;/strong&gt;, &lt;strong&gt;reduce-scatter&lt;/strong&gt;, &lt;strong&gt;all-gather&lt;/strong&gt;, and others—optimized for &lt;strong&gt;NVIDIA GPUs&lt;/strong&gt; across &lt;strong&gt;NVLink&lt;/strong&gt; within a node and &lt;strong&gt;RDMA&lt;/strong&gt; (&lt;strong&gt;InfiniBand&lt;/strong&gt; or &lt;strong&gt;RoCE&lt;/strong&gt;) across nodes. Its objective in &lt;strong&gt;AI&lt;/strong&gt; is to make &lt;strong&gt;distributed training&lt;/strong&gt; and multi-GPU &lt;strong&gt;inference&lt;/strong&gt; (tensor parallelism) scale: gradient shards must merge every step; attention and MLP partitions must exchange activations with minimal latency. Frameworks (&lt;strong&gt;PyTorch&lt;/strong&gt; DDP/FSDP, &lt;strong&gt;vLLM&lt;/strong&gt; tensor parallel) call NCCL (or delegate to it) rather than hand-rolling socket code.&lt;/p&gt;</description></item><item><title>ROCm (Radeon Open Compute)</title><link>https://lesitedefrancois.be/en/ai/rocm/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://lesitedefrancois.be/en/ai/rocm/</guid><description>&lt;p&gt;&lt;strong&gt;ROCm (Radeon Open Compute)&lt;/strong&gt; is AMD’s software stack for &lt;strong&gt;GPU compute&lt;/strong&gt; on datacenter &lt;strong&gt;Instinct&lt;/strong&gt; accelerators (and select consumer GPUs in community setups). Its objective mirrors &lt;strong&gt;CUDA&lt;/strong&gt; for NVIDIA: provide kernel compilers (&lt;strong&gt;HIP&lt;/strong&gt;), math libraries (rocBLAS, rocFFT), collective communication (&lt;strong&gt;RCCL&lt;/strong&gt;, analogous to &lt;strong&gt;NCCL&lt;/strong&gt;), and framework integrations so &lt;strong&gt;PyTorch&lt;/strong&gt; and inference runtimes can execute training and &lt;strong&gt;inference&lt;/strong&gt; on AMD hardware. ROCm is positioned as an open platform (Linux-first) for customers who want accelerator choice or who standardize on AMD in HPC and AI clusters.&lt;/p&gt;</description></item></channel></rss>