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

Function logCheck

src/library/tools/tune/tune.c:989–1019  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

987 fprintf(logStream, " [%5d]: NOT FOUND\n", dim);
988}
989void
990logCheck(
991 int dim,
992 SubproblemDim* sdim,
993 PGranularity* pgran,
994 double t,
995 double oldt,
996 bool kern)
997{
998 GParam gp;
999
1000 gp.dims[0] = sdim[0];
1001 gp.dims[1] = sdim[1];
1002 gp.dims[2] = sdim[2];
1003
1004 gp.pgran = *pgran;
1005 createGParamName(&gp);
1006 if (genInfo.aExtendedOutput) {
1007 if (oldt == 0) {
1008 fprintf(logStream, " [%5d]: %s - %7g ",dim, gp.name, t);
1009 oldt = t;
1010 }
1011 if (fabs(t - oldt) < 0.0001) {
1012 fprintf(logStream, (kern) ? "* " : "+ ");
1013 }
1014 else {
1015 fprintf(logStream, "- ");
1016 }
1017 }
1018 fflush(logStream);
1019}
1020
1021
1022void

Callers 1

checkDataFunction · 0.85

Calls 1

createGParamNameFunction · 0.85

Tested by

no test coverage detected