OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
olb::gpu::cuda::pair< T, U > Struct Template Reference

Plain pair type with single-value constructor for use in gpu::cuda::maximum_and_plus. More...

#include <statistics.hh>

+ Collaboration diagram for olb::gpu::cuda::pair< T, U >:

Public Member Functions

 pair () any_platform
 
 pair (T init) any_platform
 
 pair (T a, U b) any_platform
 

Public Attributes

first
 
second
 

Detailed Description

template<typename T, typename U>
struct olb::gpu::cuda::pair< T, U >

Plain pair type with single-value constructor for use in gpu::cuda::maximum_and_plus.

Definition at line 40 of file statistics.hh.

Constructor & Destructor Documentation

◆ pair() [1/3]

template<typename T , typename U >
olb::gpu::cuda::pair< T, U >::pair ( )
inline

Definition at line 44 of file statistics.hh.

◆ pair() [2/3]

template<typename T , typename U >
olb::gpu::cuda::pair< T, U >::pair ( T init)
inline

Definition at line 49 of file statistics.hh.

49 :
50 first{init},
51 second{init}
52 { }

◆ pair() [3/3]

template<typename T , typename U >
olb::gpu::cuda::pair< T, U >::pair ( T a,
U b )
inline

Definition at line 54 of file statistics.hh.

54 :
55 first{a},
56 second{b}
57 { }

Member Data Documentation

◆ first

template<typename T , typename U >
T olb::gpu::cuda::pair< T, U >::first

Definition at line 41 of file statistics.hh.

◆ second

template<typename T , typename U >
U olb::gpu::cuda::pair< T, U >::second

Definition at line 42 of file statistics.hh.


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