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

Function getName

src/backend/common/util.cpp:93–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93const char* getName(af_dtype type) {
94 switch (type) {
95 case f32: return "float";
96 case f64: return "double";
97 case c32: return "complex float";
98 case c64: return "complex double";
99 case u32: return "unsigned int";
100 case s32: return "int";
101 case u16: return "unsigned short";
102 case s16: return "short";
103 case u64: return "unsigned long long";
104 case s64: return "long long";
105 case u8: return "unsigned char";
106 case s8: return "signed char";
107 case b8: return "bool";
108 default: return "unknown type";
109 }
110}
111
112void saveKernel(const string& funcName, const string& jit_ker,
113 const string& ext) {

Callers 15

getFullNameFunction · 0.85
DeviceManagerMethod · 0.85
getFullNameFunction · 0.85
addDeviceContextFunction · 0.85
DeviceManagerMethod · 0.85
allDistancesFunction · 0.85
reorderFunction · 0.85
susanFunction · 0.85
nonMaximalFunction · 0.85
convSepFunction · 0.85
transpose_inplaceFunction · 0.85
triangleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected