Skip to content

Commit f426d40

Browse files
authored
improve doc for Linux
1 parent 24ac11b commit f426d40

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,16 @@ cd tutorials
6565
../tools/premake5/linux64/premake5 gmake2
6666
````
6767

68-
4. Compile using the make file & run.
68+
4. Compile using the make file.
6969
````
70-
cd build
71-
make
70+
make config=release_x64
71+
````
72+
73+
5. Run a demo.
74+
````
75+
cd dist
76+
export LD_LIBRARY_PATH=../../hiprt/linux64/:$LD_LIBRARY_PATH
77+
bin/Release/19_primary_ray64
7278
````
7379

7480
These tutorials are made to run on both AMD and NVIDIA by specifying the device index.

0 commit comments

Comments
 (0)