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

Function printResult

src/samples/example_strsm.c:64–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62static const size_t offB = 5 + 1; /* N + off */
63
64static void
65printResult(const char* str)
66{
67 size_t i, j, nrows;
68
69 printf("%s:\n", str);
70
71 nrows = (sizeof(result) / sizeof(cl_float)) / ldb;
72 for (i = 0; i < nrows; i++) {
73 for (j = 0; j < ldb; j++) {
74 printf("%.5e ", result[i * ldb + j]);
75 }
76 printf("\n");
77 }
78}
79
80int
81main(void)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected