tilelang.jit.adapter.nvrtc.include_paths¶
CUDA include-path discovery for NVRTC compilation.
Functions¶
|
Return NVRTC include paths supported by the CUDA layout at |
Module Contents¶
- tilelang.jit.adapter.nvrtc.include_paths.discover_cuda_include_paths(cuda_home, machine=None, system=None)¶
Return NVRTC include paths supported by the CUDA layout at
cuda_home.CUDA pip packages may install headers in a flat
includetree, while system toolkits commonly usetargets/<arch>-linux/include. Include both layouts when present so split or overlaid installations continue to work.- Parameters:
cuda_home (str)
machine (str | None)
system (str | None)
- Return type:
list[str]