From 2369d4c6496d30e0cf36a1527a7b0d51f90b1ee5 Mon Sep 17 00:00:00 2001 From: shawnz Date: Thu, 10 Jul 2025 17:13:31 +0800 Subject: [PATCH] Fix the FindNVSCI.cmake syntax error and the typo in README.md --- Samples/7_libNVVM/README.md | 2 +- cmake/Modules/FindNVSCI.cmake | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Samples/7_libNVVM/README.md b/Samples/7_libNVVM/README.md index 6b1128b4..09fbe98c 100644 --- a/Samples/7_libNVVM/README.md +++ b/Samples/7_libNVVM/README.md @@ -59,7 +59,7 @@ 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 the libNVVM samples with CUDA Toolkits 13.0 or newer, user-mode -driver 580 and newer, old kernel-mode drivers (version 550 or earlier),youm must +driver 580 and newer, old kernel-mode drivers (version 550 or earlier),you must update the CMake invocation in utils/build.sh or build.bat by adding `CMAKE_PREFIX_PATH` with a stubs path as follows: ``` diff --git a/cmake/Modules/FindNVSCI.cmake b/cmake/Modules/FindNVSCI.cmake index 198e2b89..883ae397 100644 --- a/cmake/Modules/FindNVSCI.cmake +++ b/cmake/Modules/FindNVSCI.cmake @@ -19,8 +19,8 @@ find_library(NVSCIBUF_LIBRARY find_library(NVSCISYNC_LIBRARY NAMES nvscisync libnvscisync PATHS - $/usr/lib - $/usr/lib/${CMAKE_SYSTEM_PROCESSOR}-linux-gnu + /usr/lib + /usr/lib/${CMAKE_SYSTEM_PROCESSOR}-linux-gnu PATH_SUFFIXES nvidia )