You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-4Lines changed: 30 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,15 @@ The majority of the exercises will require a only standard C++17 compliant compi
8
8
9
9
Some later exercises, those which involve programming for the GPU will have some further dependencies. You will need to install OpenCL drivers for the GPU on your laptop and ComputeCpp SYCL (see instructions below). If you do not have a GPU on your laptop or cannot find suitable OpenCL drivers for your GPU then the CPU will suffice. If you have trouble setting this up or for any reason are unable to install the requirements on your laptop we are providing a docker image which will provide OpenCL drivers for Intel CPU and ComputeCpp SYCL (see instructions below).
10
10
11
+
## Exercises
12
+
13
+
| Exercise | Source | Solution |
14
+
|----------|--------|----------|
15
+
|[SYCL 00: Installing ComputeCpp ][exercise-sycl-00]| NA | NA |
16
+
|[SYCL 01: Configuring a Queue ][exercise-sycl-01]|[source][source-sycl-01]|[solution][solution-sycl-01]|
17
+
|[SYCL 02: Hello World ][exercise-sycl-02]|[source][source-sycl-02]|[solution][solution-sycl-02]|
* Note that if you are using an NVidia GPU, in order to use the experimental ComputeCpp SYCL support you must include the following in the above cmake command:
74
+
* Note that if you are using an NVidia GPU, in order to use the experimental ComputeCpp SYCL support you must include the following in the above CMake command:
66
75
67
76
`-DCOMPUTECPP_BITCODE=ptx64`
68
77
69
-
* Note that you can disable the SYCL tests in the case you are not able to use ComputeCpp by adding the following in the above cmake command:
78
+
* Note that you can enable building the solutions by adding the following in the above CMake command:
79
+
80
+
`-DCPPCON_ENABLE_SYCL=OFF`
81
+
82
+
* Note that you can disable the SYCL tests in the case you are not able to use ComputeCpp by adding the following in the above CMake command:
70
83
71
-
`-DCPPCON_SYCL_EXAMPLES=OFF`
84
+
`-DCPPCON_ENABLE_SOLUTIONS=OFF`
72
85
73
86
* Build your solution:
74
87
@@ -86,3 +99,16 @@ Some later exercises, those which involve programming for the GPU will have some
0 commit comments