MCPcopy Create free account
hub / github.com/arrayfire/forge / getName

Function getName

src/backend/common/err_common.cpp:128–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128const char * getName(forge::dtype type)
129{
130 switch(type)
131 {
132 case s8 : return "char";
133 case u8 : return "unsigned char";
134 case s32 : return "int";
135 case u32 : return "unsigned int";
136 case f32 : return "float";
137 case s16 : return "short";
138 case u16 : return "unsigned short";
139 default : TYPE_ERROR(1, type);
140 }
141}
142
143}
144}

Callers 1

TypeErrorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected