Definition at line 755 of file dpnp4pybind11.hpp.
◆ usm_memory()
| dpctl::memory::usm_memory::usm_memory |
( |
void * | usm_ptr, |
|
|
std::size_t | nbytes, |
|
|
const sycl::queue & | q, |
|
|
std::shared_ptr< void > | shptr ) |
|
inline |
◆ as_usm_memory()
| static PyObject * dpctl::memory::usm_memory::as_usm_memory |
( |
PyObject * | o | ) |
|
|
inlinestaticprotected |
◆ get_nbytes()
| std::size_t dpctl::memory::usm_memory::get_nbytes |
( |
| ) |
const |
|
inline |
◆ get_pointer()
| char * dpctl::memory::usm_memory::get_pointer |
( |
| ) |
const |
|
inline |
◆ get_queue()
| sycl::queue dpctl::memory::usm_memory::get_queue |
( |
| ) |
const |
|
inline |
◆ get_smart_ptr_owner()
| const std::shared_ptr< void > & dpctl::memory::usm_memory::get_smart_ptr_owner |
( |
| ) |
const |
|
inline |
◆ is_managed_by_smart_ptr()
| bool dpctl::memory::usm_memory::is_managed_by_smart_ptr |
( |
| ) |
const |
|
inline |
◆ PYBIND11_OBJECT_CVT()
| dpctl::memory::usm_memory::PYBIND11_OBJECT_CVT |
( |
usm_memory | , |
|
|
py::object | , |
|
|
[] (PyObject *o) -> bool { return PyObject_TypeCheck(o, ::dpctl::detail::dpctl_capi::get().Py_MemoryType_) !=0;} | , |
|
|
[] (PyObject *o) -> PyObject *{ return as_usm_memory(o);} | ) |
|
inline |
The documentation for this class was generated from the following file: