You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NVRTC 13.3 ships bundled CUDA headers plus APIs to manage them — a big usability win for
pip-wheel-only environments that have no CTK installation to point include_path at:
Adjacent: the new NVRTC_ERROR_BUSY (13.3) is plausibly tied to concurrent installs given the NO_WAIT flag — to be confirmed during design; error mapping itself is automatic.
Interacts with the cuda-cccl dependency discussion (#691) and cuda.pathfinder's include-dir
discovery.
Summary
NVRTC 13.3 ships bundled CUDA headers plus APIs to manage them — a big usability win for
pip-wheel-only environments that have no CTK installation to point
include_pathat:nvrtcGetBundledHeadersInfo(nvrtcBundledHeadersInfo* info, const char** errorLog)available,compressedSize,uncompressedSize,cudaVersionMajor/Minor,numFilesnvrtcInstallBundledHeaders(const char* installPath, unsigned int flags, const char** errorLog)nvrtcRemoveBundledHeaders(const char* installPath, const char** errorLog)NVRTC_INSTALL_HEADERS_{FORCE_OVERWRITE,NO_WAIT,SKIP_IF_EXISTS}--use-bundled-headers=<dir>Adjacent: the new
NVRTC_ERROR_BUSY(13.3) is plausibly tied to concurrent installs given theNO_WAITflag — to be confirmed during design; error mapping itself is automatic.Interacts with the cuda-cccl dependency discussion (#691) and
cuda.pathfinder's include-dirdiscovery.
Design sketch (draft — needs design-meeting review)
Important
Starting point only, not a settled design — review in the cuda.core design meeting.
ProgramOptions.use_bundled_headers: str | bool(aTrueshorthand meaning "the manageddefault install location").
cuda.core.utils.install_bundled_headers(path=None, *, policy=...),remove_bundled_headers(path),bundled_headers_info()wrappers.Programauto-installs (opt-in) to a per-user cache dir on first use.Open questions for the meeting:
NO_WAITpolicy and theNVRTC_ERROR_BUSYUX.include_path,no_source_include, and pathfinder-discovered CTK headers.Programever auto-trigger installs, or keep it strictly explicit?References
-- Leo's bot