File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
examples/cython/sycl_buffer Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- #1 Example of SYCL extension working NumPy array input via SYCL buffers
1
+ # Example of SYCL extension working NumPy array input via SYCL buffers
2
2
3
3
4
- #2 Decription
4
+ ## Decription
5
5
6
6
Cython function expecting a 2D array in C-contiguous layout that
7
7
computes column-wise total by using SYCL oneMKL (as GEMV call with
@@ -10,15 +10,15 @@ an all units vector).
10
10
Example illustrates compiling SYCL extension, linking to oneMKL.
11
11
12
12
13
- #2 Compiling
13
+ ## Compiling
14
14
15
15
```
16
16
# make sure oneAPI is activated, $ONEAPI_ROOT must be set
17
17
CC=icx CXX=dpcpp python setup.py build_ext --inplace
18
18
```
19
19
20
20
21
- #2 Running
21
+ ## Running
22
22
23
23
```
24
24
# SYCL_DEVICE_FILTER=opencl sets SYCL backend to OpenCL to avoid a
You can’t perform that action at this time.
0 commit comments