Cutlass
CUDA Templates for Linear Algebra Subroutines and Solvers
Public Types | Public Member Functions | Public Attributes | List of all members
cutlass::platform::Pair< T1, T2 > Struct Template Reference

Constructs an iterator from a pair of iterators.

#include <pair.h>

Public Types

typedef T1 first_type
 
typedef T2 second_type
 

Public Member Functions

CUTLASS_HOST_DEVICE Pair ()
 Default constructor. More...
 
CUTLASS_HOST_DEVICE Pair (T1 const &first_, T2 const &second_)
 Constructs a pair. More...
 

Public Attributes

T1 first
 
T1 second
 

Member Typedef Documentation

◆ first_type

template<typename T1, typename T2>
typedef T1 cutlass::platform::Pair< T1, T2 >::first_type

◆ second_type

template<typename T1, typename T2>
typedef T2 cutlass::platform::Pair< T1, T2 >::second_type

Constructor & Destructor Documentation

◆ Pair() [1/2]

template<typename T1, typename T2>
CUTLASS_HOST_DEVICE cutlass::platform::Pair< T1, T2 >::Pair ( )
inline

◆ Pair() [2/2]

template<typename T1, typename T2>
CUTLASS_HOST_DEVICE cutlass::platform::Pair< T1, T2 >::Pair ( T1 const &  first_,
T2 const &  second_ 
)
inline

Member Data Documentation

◆ first

template<typename T1, typename T2>
T1 cutlass::platform::Pair< T1, T2 >::first

◆ second

template<typename T1, typename T2>
T1 cutlass::platform::Pair< T1, T2 >::second

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