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

Function printResult

src/samples/example_ssyr2k.c:75–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73static const size_t offC = 5 + 1; /* N + off */
74
75static void
76printResult(const char* str)
77{
78 size_t i, j, nrows;
79
80 printf("%s:\n", str);
81
82 nrows = (sizeof(result) / sizeof(cl_float)) / ldc;
83 for (i = 0; i < nrows; i++) {
84 for (j = 0; j < ldc; j++) {
85 printf("%d ", (int)result[i * ldc + j]);
86 }
87 printf("\n");
88 }
89}
90
91int
92main(void)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected