CUDA 13.2 samples update (#432)

- Added Python samples for CUDA Python 1.0 release
- Renamed top-level `Samples` directory to `cpp` to accommodate Python samples.
This commit is contained in:
Dheemanth
2026-05-13 15:13:18 -07:00
committed by GitHub
parent a4526d5229
commit aeab82ff30
2072 changed files with 15077 additions and 1970 deletions

View File

@@ -50,8 +50,11 @@ if(DEFINED TARGET_FS)
NO_CMAKE_PATH
)
if(TARGET_CUDA_NVCC_PATH)
# Get the real path of CUDA installation on TARGET_FS
# Get the real path of CUDA installation on TARGET_FS.
# Relative symlinks resolve with the host mount prefix (TARGET_FS) included;
# strip it so the resulting path is valid on the target device at runtime.
get_filename_component(TARGET_CUDA_PATH "${TARGET_CUDA_NVCC_PATH}" REALPATH)
string(REPLACE "${TARGET_FS}" "" TARGET_CUDA_PATH "${TARGET_CUDA_PATH}")
get_filename_component(TARGET_CUDA_ROOT "${TARGET_CUDA_PATH}" DIRECTORY)
get_filename_component(TARGET_CUDA_ROOT "${TARGET_CUDA_ROOT}" DIRECTORY)
endif()