Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Examples of data-parallel Python extensions written with pybind11

The dpctl provides integration header dpctl4pybind11.hpp which implements type casters establishing mapping between dpctl.SyclQueue and sycl::queue, dpctl.SyclDevice and sycl::device, dpctl.SyclEvent and sycl::event, etc.

The header also defines C++ classes dpctl::tensor::usm_ndarray and dpctl::memory::usm_memory which derive from pybind11::object and encapsulate Python objects of types dpctl.tensor.usm_ndarray and dpctl.memory._Memory respectively.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.