Infra Learning Club
Jan 24, 2025 · Fundamentals
Inside NVCC: How CUDA Code Is Compiled and Linked
The article dissects NVCC’s compilation pipeline, showing how internal registration functions from host_runtime.h are injected into the host binary, how a simple CUDA demo is processed with --dryrun, and how the generated fatbin, PTX, and cubin files are linked and registered for GPU execution.
CUDACompilationFatBinary
0 likes · 10 min read
