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

Function printResult

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

Source from the content-addressed store, hash-verified

63static const size_t ldc = N;
64
65static void
66printResult(void)
67{
68 size_t i, j, nrows;
69
70 printf("Result:\n");
71
72 nrows = (sizeof(C) / sizeof(cl_float)) / ldc;
73 for (i = 0; i < nrows; i++) {
74 for (j = 0; j < ldc; j++) {
75 printf("%d ", (int)C[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