Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Public Types | Static Public Member Functions | Static Public Attributes
Teuchos::ScalarTraits< int > Struct Template Reference

#include <Teuchos_ScalarTraitsCUDA.hpp>

List of all members.

Public Types

typedef int magnitudeType
typedef int halfPrecision
typedef int doublePrecision

Static Public Member Functions

static __device__ __host__
magnitudeType 
magnitude (int a)
static __device__ __host__ int zero ()
static __device__ __host__ int one ()
static __device__ __host__ int conjugate (int x)
static __device__ __host__ int real (int x)
static __device__ __host__ int imag (int)
static __device__ __host__ bool isnaninf (int)
static __device__ __host__ int squareroot (int x)
static __device__ __host__ int pow (int x, int y)

Static Public Attributes

static const bool isComplex = false
static const bool isOrdinal = true
static const bool isComparable = true
static const bool hasMachineParameters = false

Detailed Description

template<>
struct Teuchos::ScalarTraits< int >

Definition at line 54 of file Teuchos_ScalarTraitsCUDA.hpp.


Member Typedef Documentation

typedef int Teuchos::ScalarTraits< int >::magnitudeType

Definition at line 56 of file Teuchos_ScalarTraitsCUDA.hpp.

typedef int Teuchos::ScalarTraits< int >::halfPrecision

Definition at line 57 of file Teuchos_ScalarTraitsCUDA.hpp.

Definition at line 58 of file Teuchos_ScalarTraitsCUDA.hpp.


Member Function Documentation

static __device__ __host__ magnitudeType Teuchos::ScalarTraits< int >::magnitude ( int  a) [inline, static]

Definition at line 63 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ int Teuchos::ScalarTraits< int >::zero ( ) [inline, static]

Definition at line 64 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ int Teuchos::ScalarTraits< int >::one ( ) [inline, static]

Definition at line 65 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ int Teuchos::ScalarTraits< int >::conjugate ( int  x) [inline, static]

Definition at line 66 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ int Teuchos::ScalarTraits< int >::real ( int  x) [inline, static]

Definition at line 67 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ int Teuchos::ScalarTraits< int >::imag ( int  ) [inline, static]

Definition at line 68 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ bool Teuchos::ScalarTraits< int >::isnaninf ( int  ) [inline, static]

Definition at line 69 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ int Teuchos::ScalarTraits< int >::squareroot ( int  x) [inline, static]

Definition at line 70 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ int Teuchos::ScalarTraits< int >::pow ( int  x,
int  y 
) [inline, static]

Definition at line 71 of file Teuchos_ScalarTraitsCUDA.hpp.


Member Data Documentation

const bool Teuchos::ScalarTraits< int >::isComplex = false [static]

Definition at line 59 of file Teuchos_ScalarTraitsCUDA.hpp.

const bool Teuchos::ScalarTraits< int >::isOrdinal = true [static]

Definition at line 60 of file Teuchos_ScalarTraitsCUDA.hpp.

const bool Teuchos::ScalarTraits< int >::isComparable = true [static]

Definition at line 61 of file Teuchos_ScalarTraitsCUDA.hpp.

const bool Teuchos::ScalarTraits< int >::hasMachineParameters = false [static]

Definition at line 62 of file Teuchos_ScalarTraitsCUDA.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines