Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
ktransformers
Commits
67f8b370
Unverified
Commit
67f8b370
authored
Aug 28, 2024
by
UnicornChan
Committed by
GitHub
Aug 28, 2024
Browse files
Merge pull request #56 from hyx1999/patch-1
Update README.md
parents
0f054fe4
ea1143e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
README.md
README.md
+19
-0
No files found.
README.md
View file @
67f8b370
...
...
@@ -69,6 +69,25 @@ Some preparation:
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
export CUDA_PATH=/usr/local/cuda
```
-->
-
Set CUDA_HOME (for linux) or CUDA_PATH (for windows)
For Linux, please add the following environment variables (suppose cuda is installed in "/usr/local/cuda").
```
sh
export
CUDA_HOME
=
/usr/local/cuda
export
PATH
=
/usr/local/cuda/bin:
$PATH
export
LD_LIBRARY_PATH
=
/usr/local/cuda/lib64:
$LD_LIBRARY_PATH
```
For Windows, please add the CUDA_PATH to the "System variables" section of "Environment Variables" (suppose cuda is installed in "C:
\P
rogram Files
\N
VIDIA GPU Computing Toolkit
\C
UDA
\v
X.X").
-
Variable name: "CUDA_PATH"
-
Variable value: "C:
\P
rogram Files
\N
VIDIA GPU Computing Toolkit
\C
UDA
\v
X.X"
Then append the following paths to the "Path" variable.
```sh
%CUDA_PATH%
\b
in;%CUDA_PATH%
\l
ibnvvp
```
- Linux-x86_64 with gcc, g++ and cmake
```
sh
sudo apt-get update
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment