diff --git a/README.md b/README.md index 6c681322..9af7258f 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ QNX_HOST=/path/to/qnx/host QNX_TARGET=/path/to/qnx/target cmake .. -DBUILD_TEGRA ### Forward Compatibility -To build samples with new CUDA Toolkit(CUDA 13.0 or later) and UMD(version 580 or later) and old KMD(version 535 or earlier),you need to set the `CMAKE_PREFIX_PATH` for using new driver library, the command might like this: +To build samples with new CUDA Toolkit(CUDA 13.0 or later) and UMD(Version 580 or later) and old KMD(Version 550 or earlier),you need to set the `CMAKE_PREFIX_PATH` for using new driver library, the command might like this: ``` cmake -DCMAKE_PREFIX_PATH=/usr/local/cuda/lib64/stubs/ .. diff --git a/Samples/7_libNVVM/README.md b/Samples/7_libNVVM/README.md index 9aa39ed0..efb957ec 100644 --- a/Samples/7_libNVVM/README.md +++ b/Samples/7_libNVVM/README.md @@ -58,6 +58,12 @@ Alternatively, we provide a Makefile that will automatically build these samples on Linux as part of the toplevel cuda-samples build. Windows users should build manually via utils/built.bat or Visual Studio's CMake integration. +To build and run samples with new CUDA Toolkit(CUDA 13.0 or later) and UMD +(Version 580 or later) and old KMD(Version 550 or earlier),user need to +update the CMake invocation in utils/build.sh or build.bat with adding +`CMAKE_PREFIX_PATH` with stubs path like this: +"-DCMAKE_PREFIX_PATH=/usr/local/cuda/lib64/stubs/" + A Note About the cuda-c-linking Sample --------------------------------------