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

Function strOne

src/library/common/kgen_basic.c:197–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197const char
198*strOne(DataType dtype)
199{
200 const char *s;
201
202 if (isComplexType(dtype)) {
203 if (isDoubleBasedType(dtype)) {
204 s = "(double2)(1, 0)";
205 }
206 else {
207 s = "(float2)(1, 0)";
208 }
209 }
210 else {
211 s = "1";
212 }
213
214 return s;
215}
216
217void
218getVectorTypeName(

Callers 8

genSetUnitInTileFunction · 0.85
genTrxmPostFetchZeroFunction · 0.85
genUpdateGenericDiagTileFunction · 0.85
genZeroTileTrashFunction · 0.85
prepGeneratorFunction · 0.85
generatorFunction · 0.85
genInvertDiagBlockFunction · 0.85
genTriangMatrBlockFunction · 0.85

Calls 2

isComplexTypeFunction · 0.85
isDoubleBasedTypeFunction · 0.85

Tested by

no test coverage detected