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 41 of file Teuchos_ScalarTraitsCUDA.hpp.


Member Typedef Documentation

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

Definition at line 43 of file Teuchos_ScalarTraitsCUDA.hpp.

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

Definition at line 44 of file Teuchos_ScalarTraitsCUDA.hpp.

Definition at line 45 of file Teuchos_ScalarTraitsCUDA.hpp.


Member Function Documentation

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

Definition at line 50 of file Teuchos_ScalarTraitsCUDA.hpp.

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

Definition at line 51 of file Teuchos_ScalarTraitsCUDA.hpp.

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

Definition at line 52 of file Teuchos_ScalarTraitsCUDA.hpp.

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

Definition at line 53 of file Teuchos_ScalarTraitsCUDA.hpp.

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

Definition at line 54 of file Teuchos_ScalarTraitsCUDA.hpp.

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

Definition at line 55 of file Teuchos_ScalarTraitsCUDA.hpp.

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

Definition at line 56 of file Teuchos_ScalarTraitsCUDA.hpp.

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

Definition at line 57 of file Teuchos_ScalarTraitsCUDA.hpp.

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

Definition at line 58 of file Teuchos_ScalarTraitsCUDA.hpp.


Member Data Documentation

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

Definition at line 46 of file Teuchos_ScalarTraitsCUDA.hpp.

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

Definition at line 47 of file Teuchos_ScalarTraitsCUDA.hpp.

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

Definition at line 48 of file Teuchos_ScalarTraitsCUDA.hpp.

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

Definition at line 49 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