|
DPNP C++ backend kernel library 0.18.0dev0
Data Parallel Extension for NumPy*
|
Type to keep USM array pointers used in kernels. More...
#include <dpnp_iterator.hpp>
Public Types | |
| using | value_type = _Tp |
| using | iterator = DPNP_USM_iterator<value_type> |
| using | pointer = value_type * |
| using | reference = value_type & |
| using | size_type = shape_elem_type |
Public Member Functions | |
| DPNPC_id (DPCTLSyclQueueRef q_ref, pointer __ptr, const size_type *__shape, const size_type __shape_size) | |
| DPNPC_id (DPCTLSyclQueueRef q_ref, pointer __ptr, const size_type *__shape, const size_type *__strides, const size_type __ndim) | |
| DPNPC_id (DPCTLSyclQueueRef q_ref, pointer __ptr, const std::vector< size_type > &__shape) | |
| Main container for reduction iterator. | |
| DPNPC_id (pointer __ptr, const std::vector< size_type > &__shape, const std::vector< size_type > &__strides) | |
| Main container for reduction/broadcasting iterator. | |
| size_type | get_output_size () const |
| this function return number of elements in output | |
| void | broadcast_to_shape (const size_type *__shape, const size_type __shape_size) |
| void | broadcast_to_shape (const std::vector< size_type > &__shape) |
| Broadcast input data to specified shape. | |
| void | set_axis (shape_elem_type __axis) |
| Set axis for the data object to use in computation. | |
| void | set_axes (const shape_elem_type *__axes, const size_t axes_ndim) |
| void | set_axes (const std::vector< shape_elem_type > &__axes) |
| Set axes for the data object to use in computation. | |
| iterator | begin (size_type output_global_id=0) const |
| this function is designed for SYCL environment execution | |
| iterator | end (size_type output_global_id=0) const |
| this function is designed for SYCL environment execution | |
| reference | operator[] (size_type __n) const |
| this function is designed for SYCL environment execution | |
Type to keep USM array pointers used in kernels.
This type should be used in host part of the code to provide pre-calculated data. The DPNP_USM_iterator will be used later in SYCL environment
Definition at line 200 of file dpnp_iterator.hpp.
| using DPNPC_id< _Tp >::iterator = DPNP_USM_iterator<value_type> |
Definition at line 204 of file dpnp_iterator.hpp.
| using DPNPC_id< _Tp >::pointer = value_type * |
Definition at line 205 of file dpnp_iterator.hpp.
| using DPNPC_id< _Tp >::reference = value_type & |
Definition at line 206 of file dpnp_iterator.hpp.
| using DPNPC_id< _Tp >::size_type = shape_elem_type |
Definition at line 207 of file dpnp_iterator.hpp.
| using DPNPC_id< _Tp >::value_type = _Tp |
Definition at line 203 of file dpnp_iterator.hpp.
|
inline |
Definition at line 209 of file dpnp_iterator.hpp.
|
inline |
Definition at line 219 of file dpnp_iterator.hpp.
Definition at line 278 of file dpnp_iterator.hpp.
|
inline |
this function is designed for SYCL environment execution
Definition at line 468 of file dpnp_iterator.hpp.

|
inline |
Definition at line 289 of file dpnp_iterator.hpp.
|
inline |
this function is designed for SYCL environment execution
Definition at line 476 of file dpnp_iterator.hpp.
|
inline |
this function return number of elements in output
Definition at line 284 of file dpnp_iterator.hpp.
|
inline |
this function is designed for SYCL environment execution
Definition at line 486 of file dpnp_iterator.hpp.

|
inline |
Definition at line 379 of file dpnp_iterator.hpp.