Skip to content

Commit 5d257b2

Browse files
authored
Add information about docker image to README (#6)
1 parent ff43eb0 commit 5d257b2

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,21 @@ Docker Image
1515

1616
There is a docker image available with all the examples and the required
1717
environment set up, see https://hub.docker.com/r/ruyman/dpcpp_cuda_examples.
18+
19+
If you have nvidia-docker, you can simply pull the image and run it to build
20+
the examples:
21+
22+
```sh
23+
$ sudo docker run --gpus all -it ruyman/dpcpp_cuda_examples
24+
```
25+
26+
Once inside the docker image, navigate to /home/examples/ to find a clone
27+
of this repo. Make sure to pull the latest changes:
28+
29+
```sh
30+
$ cd /home/examples/SYCL-For-CUDA-Examples
31+
$ git pull
32+
```
33+
34+
Refer to each example and/or exercise for detailed instructions on how
35+
to run it.

0 commit comments

Comments
 (0)