Skip to content

Commit 9fc50b5

Browse files
committed
fixed installation instructions
1 parent e13c883 commit 9fc50b5

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

doc/installation.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,21 @@ Use the following steps for an x86 Linux native host. Please refer to
1313
the cross ARM installation if you need to target cross ARM Linux
1414
instead::
1515

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::
1731

1832
.. code-block:: shell
1933
@@ -45,6 +59,8 @@ CUDA application.
4559

4660
To check if everything is correctly installed, you can try an example:
4761

62+
.. code-block:: shell
63+
4864
cd cuda/examples/0_Simple/vectorAdd
4965
make
5066
./main

0 commit comments

Comments
 (0)