DPNP C++ backend kernel library 0.18.0dev1
Data Parallel Extension for NumPy*
Loading...
Searching...
No Matches
statistics::partitioning::State< T > Struct Template Reference
Collaboration diagram for statistics::partitioning::State< T >:

Public Member Functions

 State (sycl::queue &queue, size_t _n, T *values_buff)
 
sycl::event init (sycl::queue &queue, const std::vector< sycl::event > &deps)
 
void update_counters () const
 
void reset_iteration_counters () const
 
void cleanup (sycl::queue &queue)
 

Public Attributes

Counters counters
 
Counters iteration_counters
 
bool * stop
 
bool * target_found
 
bool * left
 
T * pivot
 
T * values
 
size_t * num_elems
 
size_t n
 

Detailed Description

template<typename T>
struct statistics::partitioning::State< T >

Definition at line 71 of file partitioning.hpp.

Constructor & Destructor Documentation

◆ State()

template<typename T >
statistics::partitioning::State< T >::State ( sycl::queue & queue,
size_t _n,
T * values_buff )
inline

Definition at line 87 of file partitioning.hpp.

Member Function Documentation

◆ cleanup()

template<typename T >
void statistics::partitioning::State< T >::cleanup ( sycl::queue & queue)
inline

Definition at line 142 of file partitioning.hpp.

◆ init()

template<typename T >
sycl::event statistics::partitioning::State< T >::init ( sycl::queue & queue,
const std::vector< sycl::event > & deps )
inline

Definition at line 102 of file partitioning.hpp.

◆ reset_iteration_counters()

template<typename T >
void statistics::partitioning::State< T >::reset_iteration_counters ( ) const
inline

Definition at line 134 of file partitioning.hpp.

◆ update_counters()

template<typename T >
void statistics::partitioning::State< T >::update_counters ( ) const
inline

Definition at line 119 of file partitioning.hpp.

Member Data Documentation

◆ counters

template<typename T >
Counters statistics::partitioning::State< T >::counters

Definition at line 73 of file partitioning.hpp.

◆ iteration_counters

template<typename T >
Counters statistics::partitioning::State< T >::iteration_counters

Definition at line 74 of file partitioning.hpp.

◆ left

template<typename T >
bool* statistics::partitioning::State< T >::left

Definition at line 78 of file partitioning.hpp.

◆ n

template<typename T >
size_t statistics::partitioning::State< T >::n

Definition at line 85 of file partitioning.hpp.

◆ num_elems

template<typename T >
size_t* statistics::partitioning::State< T >::num_elems

Definition at line 83 of file partitioning.hpp.

◆ pivot

template<typename T >
T* statistics::partitioning::State< T >::pivot

Definition at line 80 of file partitioning.hpp.

◆ stop

template<typename T >
bool* statistics::partitioning::State< T >::stop

Definition at line 76 of file partitioning.hpp.

◆ target_found

template<typename T >
bool* statistics::partitioning::State< T >::target_found

Definition at line 77 of file partitioning.hpp.

◆ values

template<typename T >
T* statistics::partitioning::State< T >::values

Definition at line 81 of file partitioning.hpp.


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