MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / dtypeToPrefix

Function dtypeToPrefix

src/library/common/kgen_basic.c:119–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119char
120dtypeToPrefix(DataType type)
121{
122 char c;
123
124 switch (type) {
125 case TYPE_FLOAT:
126 c = 'f';
127 break;
128 case TYPE_DOUBLE:
129 c = 'd';
130 break;
131 case TYPE_COMPLEX_FLOAT:
132 c = 'c';
133 break;
134 case TYPE_COMPLEX_DOUBLE:
135 c = 'z';
136 break;
137 default:
138 c = 0;
139 break;
140 }
141
142 return c;
143}
144
145const char
146*dtypeBuiltinType(DataType dtype)

Callers 4

dtypeToBlasPrefixFunction · 0.85
getFuncNameFunction · 0.85
copyDBlockGenericGenFunction · 0.85
copyDBlockOptimGenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected