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

Function printResult

src/samples/example_ssyrk.c:65–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected