milupHPC documentation
Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
Reduction Struct Reference
+ Collaboration diagram for Reduction:
Collaboration graph

Public Types

enum  Type { min , max , sum }
 

Public Member Functions

 Reduction (Type t)
 
 operator Reduction () const
 

Public Attributes

Type t_
 

Private Member Functions

template<typename T >
 operator T () const
 

Detailed Description

Definition at line 10 of file helper.cuh.

Member Enumeration Documentation

◆ Type

enum Reduction::Type
Enumerator
min 
max 
sum 

Definition at line 12 of file helper.cuh.

Constructor & Destructor Documentation

◆ Reduction()

Reduction::Reduction ( Type  t)
inline

Definition at line 17 of file helper.cuh.

Member Function Documentation

◆ operator Reduction()

Reduction::operator Reduction ( ) const
inline

Definition at line 18 of file helper.cuh.

◆ operator T()

template<typename T >
Reduction::operator T ( ) const
private

Member Data Documentation

◆ t_

Type Reduction::t_

Definition at line 16 of file helper.cuh.


The documentation for this struct was generated from the following file:
  • include/helper.cuh

milupHPC - Reduction Struct Reference
Generated on Wed Aug 31 2022 12:16:53 by Doxygen 1.9.3