File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,21 @@ Use the following steps for an x86 Linux native host. Please refer to
13
13
the cross ARM installation if you need to target cross ARM Linux
14
14
instead::
15
15
16
- Untar the package::
16
+ Prior to running GNAT for CUDA, you need to have the NVIDIA environment
17
+ in your PATH, and in particular ptxas. You can check that by running:
18
+
19
+ .. code-block :: shell
20
+
21
+ which ptxas
22
+
23
+ If it doesn't return anything, CUDA may not be installed, or need to be
24
+ put in your PATH, e.g.:
25
+
26
+ .. code-block :: shell
27
+
28
+ export PATH=/usr/local/cuda-< your CUDA version> /bin/:$PATH
29
+
30
+ From there, you can untar the package::
17
31
18
32
.. code-block :: shell
19
33
@@ -45,6 +59,8 @@ CUDA application.
45
59
46
60
To check if everything is correctly installed, you can try an example:
47
61
62
+ .. code-block :: shell
63
+
48
64
cd cuda/examples/0_Simple/vectorAdd
49
65
make
50
66
./main
You can’t perform that action at this time.
0 commit comments