|
DPNP C++ backend kernel library 0.20.0dev0
Data Parallel Extension for NumPy*
|
Public Types | |
| using | Shape = sycl::range<Dims> |
| using | value_type = T |
| using | pointer_type = value_type * |
| using | ncT = typename std::remove_const<value_type>::type |
| using | LocalData = sycl::local_accessor<ncT, Dims> |
Public Member Functions | |
| CachedData (T *global_data, Shape shape, sycl::handler &cgh) | |
| T * | get_ptr () const |
| template<int _Dims> | |
| void | init (const sycl::nd_item< _Dims > &item) const |
| size_t | size () const |
| T & | operator[] (const sycl::id< Dims > &id) const |
| template<typename = std::enable_if_t<Dims == 1>> | |
| T & | operator[] (const size_t id) const |
Static Public Attributes | |
| static constexpr bool const | sync_after_init = true |
| static constexpr auto | dims = Dims |
Definition at line 50 of file histogram_common.hpp.
| using statistics::histogram::CachedData< T, Dims >::LocalData = sycl::local_accessor<ncT, Dims> |
Definition at line 59 of file histogram_common.hpp.
| using statistics::histogram::CachedData< T, Dims >::ncT = typename std::remove_const<value_type>::type |
Definition at line 58 of file histogram_common.hpp.
| using statistics::histogram::CachedData< T, Dims >::pointer_type = value_type * |
Definition at line 55 of file histogram_common.hpp.
| using statistics::histogram::CachedData< T, Dims >::Shape = sycl::range<Dims> |
Definition at line 53 of file histogram_common.hpp.
| using statistics::histogram::CachedData< T, Dims >::value_type = T |
Definition at line 54 of file histogram_common.hpp.
|
inline |
Definition at line 61 of file histogram_common.hpp.
|
inline |
Definition at line 67 of file histogram_common.hpp.
|
inline |
Definition at line 73 of file histogram_common.hpp.
|
inline |
Definition at line 97 of file histogram_common.hpp.
|
inline |
Definition at line 91 of file histogram_common.hpp.
|
inline |
Definition at line 86 of file histogram_common.hpp.
|
staticconstexpr |
Definition at line 56 of file histogram_common.hpp.
|
staticconstexpr |
Definition at line 52 of file histogram_common.hpp.