mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-08-23 23:35:31 +08:00
Fix the FindNVSCI.cmake syntax error and the typo in README.md
This commit is contained in:
parent
8433f89993
commit
2369d4c649
@ -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:
|
||||
```
|
||||
|
@ -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
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user