File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
examples/pybind11/external_usm_allocation Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ to dpctl.memory entities using `__sycl_usm_array_interface__`.
7
7
8
8
# Building extension
9
9
10
- ```
10
+ ``` bash
11
11
source /opt/intel/oneapi/compiler/latest/env/vars.sh
12
- CXX=dpcpp CC=dpcpp python setup.py build_ext --inplace
12
+ CXX=icpx CC=icx python setup.py build_ext --inplace
13
13
python -m pytest tests
14
14
python example.py
15
15
```
Original file line number Diff line number Diff line change @@ -134,9 +134,6 @@ py::list tolist(DMatrix &m)
134
134
135
135
PYBIND11_MODULE (_external_usm_alloc, m)
136
136
{
137
- // Import the dpctl extensions
138
- import_dpctl ();
139
-
140
137
py::class_<DMatrix> dm (m, " DMatrix" );
141
138
dm.def (py::init (&create_matrix),
142
139
" DMatrix(dpctl.SyclQueue, n_rows, n_cols)" );
You can’t perform that action at this time.
0 commit comments