A high-performance general-purpose compute library
dtype_traits< float > Struct Reference

#include <traits.hpp>

Public Types

enum  { af_type = f32 , ctype = f32 }
 
typedef float base_type
 

Static Public Member Functions

static const char * getName ()
 

Detailed Description

Definition at line 24 of file traits.hpp.

Member Typedef Documentation

◆ base_type

typedef float base_type

Definition at line 29 of file traits.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
af_type 
ctype 

Definition at line 25 of file traits.hpp.

25 {
26 af_type = f32,
27 ctype = f32
28 };
@ f32
32-bit floating point values
Definition: defines.h:211

Member Function Documentation

◆ getName()

static const char * getName ( )
inlinestatic

Definition at line 30 of file traits.hpp.

30{ return "float"; }

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