DPNP C++ backend kernel library 0.18.0dev1
Data Parallel Extension for NumPy*
Loading...
Searching...
No Matches
statistics::sliding_window1d::_RegistryDataStorage< T, Size > Class Template Reference
Inheritance diagram for statistics::sliding_window1d::_RegistryDataStorage< T, Size >:

Public Types

using ncT = typename std::remove_const_t<T>
 
using SizeT = decltype(Size)
 

Public Member Functions

 _RegistryDataStorage (const sycl::nd_item< 1 > &item)
 
template<typename yT >
T & operator[] (const yT &idx)
 
template<typename yT >
const T & operator[] (const yT &idx) const
 
T & value ()
 
const T & value () const
 
template<typename yT , typename xT >
broadcast (const yT &y, const xT &x) const
 
template<typename iT >
broadcast (const iT &idx) const
 
template<typename yT , typename xT >
shift_left (const yT &y, const xT &x) const
 
template<typename yT , typename xT >
shift_right (const yT &y, const xT &x) const
 
constexpr SizeT size_y () const
 
SizeT size_x () const
 
SizeT total_size () const
 
ncT * ptr ()
 
SizeT x () const
 

Static Public Attributes

static constexpr SizeT _size = Size
 

Protected Attributes

const sycl::sub_group sbgroup
 
ncT data [Size]
 

Detailed Description

template<typename T, uint32_t Size>
class statistics::sliding_window1d::_RegistryDataStorage< T, Size >

Definition at line 45 of file sliding_window1d.hpp.

Member Typedef Documentation

◆ ncT

template<typename T , uint32_t Size>
using statistics::sliding_window1d::_RegistryDataStorage< T, Size >::ncT = typename std::remove_const_t<T>

Definition at line 48 of file sliding_window1d.hpp.

◆ SizeT

template<typename T , uint32_t Size>
using statistics::sliding_window1d::_RegistryDataStorage< T, Size >::SizeT = decltype(Size)

Definition at line 49 of file sliding_window1d.hpp.

Constructor & Destructor Documentation

◆ _RegistryDataStorage()

template<typename T , uint32_t Size>
statistics::sliding_window1d::_RegistryDataStorage< T, Size >::_RegistryDataStorage ( const sycl::nd_item< 1 > & item)
inline

Definition at line 52 of file sliding_window1d.hpp.

Member Function Documentation

◆ broadcast() [1/2]

template<typename T , uint32_t Size>
template<typename iT >
T statistics::sliding_window1d::_RegistryDataStorage< T, Size >::broadcast ( const iT & idx) const
inline

Definition at line 99 of file sliding_window1d.hpp.

◆ broadcast() [2/2]

template<typename T , uint32_t Size>
template<typename yT , typename xT >
T statistics::sliding_window1d::_RegistryDataStorage< T, Size >::broadcast ( const yT & y,
const xT & x ) const
inline

Definition at line 88 of file sliding_window1d.hpp.

◆ operator[]() [1/2]

template<typename T , uint32_t Size>
template<typename yT >
T & statistics::sliding_window1d::_RegistryDataStorage< T, Size >::operator[] ( const yT & idx)
inline

Definition at line 58 of file sliding_window1d.hpp.

◆ operator[]() [2/2]

template<typename T , uint32_t Size>
template<typename yT >
const T & statistics::sliding_window1d::_RegistryDataStorage< T, Size >::operator[] ( const yT & idx) const
inline

Definition at line 66 of file sliding_window1d.hpp.

◆ ptr()

template<typename T , uint32_t Size>
ncT * statistics::sliding_window1d::_RegistryDataStorage< T, Size >::ptr ( )
inline

Definition at line 142 of file sliding_window1d.hpp.

◆ shift_left()

template<typename T , uint32_t Size>
template<typename yT , typename xT >
T statistics::sliding_window1d::_RegistryDataStorage< T, Size >::shift_left ( const yT & y,
const xT & x ) const
inline

Definition at line 110 of file sliding_window1d.hpp.

◆ shift_right()

template<typename T , uint32_t Size>
template<typename yT , typename xT >
T statistics::sliding_window1d::_RegistryDataStorage< T, Size >::shift_right ( const yT & y,
const xT & x ) const
inline

Definition at line 119 of file sliding_window1d.hpp.

◆ size_x()

template<typename T , uint32_t Size>
SizeT statistics::sliding_window1d::_RegistryDataStorage< T, Size >::size_x ( ) const
inline

Definition at line 132 of file sliding_window1d.hpp.

◆ size_y()

template<typename T , uint32_t Size>
SizeT statistics::sliding_window1d::_RegistryDataStorage< T, Size >::size_y ( ) const
inlineconstexpr

Definition at line 127 of file sliding_window1d.hpp.

◆ total_size()

template<typename T , uint32_t Size>
SizeT statistics::sliding_window1d::_RegistryDataStorage< T, Size >::total_size ( ) const
inline

Definition at line 137 of file sliding_window1d.hpp.

◆ value() [1/2]

template<typename T , uint32_t Size>
T & statistics::sliding_window1d::_RegistryDataStorage< T, Size >::value ( )
inline

Definition at line 73 of file sliding_window1d.hpp.

◆ value() [2/2]

template<typename T , uint32_t Size>
const T & statistics::sliding_window1d::_RegistryDataStorage< T, Size >::value ( ) const
inline

Definition at line 80 of file sliding_window1d.hpp.

◆ x()

template<typename T , uint32_t Size>
SizeT statistics::sliding_window1d::_RegistryDataStorage< T, Size >::x ( ) const
inline

Definition at line 147 of file sliding_window1d.hpp.

Member Data Documentation

◆ _size

template<typename T , uint32_t Size>
SizeT statistics::sliding_window1d::_RegistryDataStorage< T, Size >::_size = Size
staticconstexpr

Definition at line 50 of file sliding_window1d.hpp.

◆ data

template<typename T , uint32_t Size>
ncT statistics::sliding_window1d::_RegistryDataStorage< T, Size >::data[Size]
protected

Definition at line 154 of file sliding_window1d.hpp.

◆ sbgroup

template<typename T , uint32_t Size>
const sycl::sub_group statistics::sliding_window1d::_RegistryDataStorage< T, Size >::sbgroup
protected

Definition at line 153 of file sliding_window1d.hpp.


The documentation for this class was generated from the following file: