We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce546e0 commit cc63bbaCopy full SHA for cc63bba
examples/pybind11/README.md
@@ -1 +1,9 @@
1
# Examples of data-parallel Python extensions written with pybind11
2
+
3
+The `dpctl` provides integration header `dpctl4pybind11.hpp` which implements type casters
4
+establishing mapping between `dpctl.SyclQueue` and `sycl::queue`, `dpctl.SyclDevice` and `sycl::device`,
5
+`dpctl.SyclEvent` and `sycl::event`, etc.
6
7
+The header also defines C++ classes `dpctl::tensor::usm_ndarray` and `dpctl::memory::usm_memory` which
8
+derive from `pybind11::object` and encapsulate Python objects of types `dpctl.tensor.usm_ndarray` and
9
+`dpctl.memory._Memory` respectively.
examples/python/README.md
@@ -0,0 +1 @@
+# Python examples of using `dpctl`
0 commit comments