Kokkos Core Kernels Package
Version of the Day
|
Declaration and definition of Kokkos::pair. More...
#include <Kokkos_Macros.hpp>
#include <utility>
Go to the source code of this file.
Classes | |
struct | Kokkos::pair< T1, T2 > |
Replacement for std::pair that works on CUDA devices. More... | |
Namespaces | |
Kokkos | |
Functions | |
template<class T1 , class T2 > | |
KOKKOS_FORCEINLINE_FUNCTION bool | Kokkos::operator== (const pair< T1, T2 > &lhs, const pair< T1, T2 > &rhs) |
Equality operator for Kokkos::pair. More... | |
template<class T1 , class T2 > | |
KOKKOS_FORCEINLINE_FUNCTION constexpr bool | Kokkos::operator!= (const pair< T1, T2 > &lhs, const pair< T1, T2 > &rhs) |
Inequality operator for Kokkos::pair. More... | |
template<class T1 , class T2 > | |
KOKKOS_FORCEINLINE_FUNCTION constexpr bool | Kokkos::operator< (const pair< T1, T2 > &lhs, const pair< T1, T2 > &rhs) |
Less-than operator for Kokkos::pair. More... | |
template<class T1 , class T2 > | |
KOKKOS_FORCEINLINE_FUNCTION constexpr bool | Kokkos::operator<= (const pair< T1, T2 > &lhs, const pair< T1, T2 > &rhs) |
Less-than-or-equal-to operator for Kokkos::pair. More... | |
template<class T1 , class T2 > | |
KOKKOS_FORCEINLINE_FUNCTION constexpr bool | Kokkos::operator> (const pair< T1, T2 > &lhs, const pair< T1, T2 > &rhs) |
Greater-than operator for Kokkos::pair. More... | |
template<class T1 , class T2 > | |
KOKKOS_FORCEINLINE_FUNCTION constexpr bool | Kokkos::operator>= (const pair< T1, T2 > &lhs, const pair< T1, T2 > &rhs) |
Greater-than-or-equal-to operator for Kokkos::pair. More... | |
template<class T1 , class T2 > | |
KOKKOS_FORCEINLINE_FUNCTION constexpr pair< T1, T2 > | Kokkos::make_pair (T1 x, T2 y) |
Return a new pair. More... | |
template<class T1 , class T2 > | |
KOKKOS_FORCEINLINE_FUNCTION pair< T1 &, T2 & > | Kokkos::tie (T1 &x, T2 &y) |
Return a pair of references to the input arguments. More... | |
Declaration and definition of Kokkos::pair.
This header file declares and defines Kokkos::pair and its related nonmember functions.
Definition in file Kokkos_Pair.hpp.