$darkmode
A high-performance general-purpose compute library
dtype_traits< unsigned short > Struct Template Reference

#include <traits.hpp>

Public Types

enum  { af_type = u16, ctype = u16 }
 
typedef unsigned short base_type
 

Static Public Member Functions

static const char * getName ()
 

Detailed Description

template<>
struct af::dtype_traits< unsigned short >

Definition at line 157 of file traits.hpp.

Member Typedef Documentation

◆ base_type

typedef unsigned short base_type

Definition at line 162 of file traits.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
af_type 
ctype 

Definition at line 158 of file traits.hpp.

158  {
159  af_type = u16 ,
160  ctype = u16
161  };
16-bit unsigned integral values
Definition: defines.h:225

Member Function Documentation

◆ getName()

static const char* getName ( )
inlinestatic

Definition at line 163 of file traits.hpp.

163 { return "ushort"; }

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