gemini-2.5-flash-preview-09-2025| input-price: 0.3 output-price: 2.5 max-context-length: 128_000 (cost: $0.007) Β· Anfrage: 2025-09-27T22:54:41.149263

Generated by rs-summarizer Version unbekannt

Abstract:

NVIDIA is introducing two significant, behavior-changing updates to the NVIDIA CUDA Compiler Driver (NVCC) in the upcoming CUDA 13.0 release, intended to mitigate subtle, hard-to-debug runtime errors related to ELF visibility and linkage of device entities. The first change, primarily affecting shared libraries on non-Windows platforms, forces hidden ELF visibility for __global__ functions and device variables (__managed__, __device__, __constant__) to prevent conflicts arising from linking multiple versions of the CUDA Runtime Library (CUDART). The second change forces internal linkage for host template stub definitions of __global__ functions in the default whole program compilation mode (-rdc=false), resolving ambiguities when template definitions are merged by the host linker. While these changes enhance robustness, developers using existing workflows must be prepared to update their code or utilize new NVCC flags (-device-entity-has-hidden-visibility and -static-global-template-stub) to explicitly opt out of the new default behaviors.


CUDA C++ Compiler Updates Impacting ELF Visibility and Linkage

Summary Rating: No ratings yet
Article Rating: No ratings yet

Source