DPNP C++ backend kernel library 0.18.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 49 of file histogram_common.hpp.
using statistics::histogram::CachedData< T, Dims >::LocalData = sycl::local_accessor<ncT, Dims> |
Definition at line 58 of file histogram_common.hpp.
using statistics::histogram::CachedData< T, Dims >::ncT = typename std::remove_const<value_type>::type |
Definition at line 57 of file histogram_common.hpp.
using statistics::histogram::CachedData< T, Dims >::pointer_type = value_type * |
Definition at line 54 of file histogram_common.hpp.
using statistics::histogram::CachedData< T, Dims >::Shape = sycl::range<Dims> |
Definition at line 52 of file histogram_common.hpp.
using statistics::histogram::CachedData< T, Dims >::value_type = T |
Definition at line 53 of file histogram_common.hpp.
|
inline |
Definition at line 60 of file histogram_common.hpp.
|
inline |
Definition at line 66 of file histogram_common.hpp.
|
inline |
Definition at line 72 of file histogram_common.hpp.
|
inline |
Definition at line 96 of file histogram_common.hpp.
|
inline |
Definition at line 90 of file histogram_common.hpp.
|
inline |
Definition at line 85 of file histogram_common.hpp.
|
staticconstexpr |
Definition at line 55 of file histogram_common.hpp.
|
staticconstexpr |
Definition at line 51 of file histogram_common.hpp.