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

Function printResult

src/samples/example_cher2k.c:68–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66static const size_t ldc = 5; /* i.e. ldc = N */
67
68static void
69printResult(void)
70{
71 size_t i, j;
72
73 printf("Result:\n");
74
75 for (i = 0; i < N; i++) {
76 for (j = 0; j < N; j++) {
77 printf("(%9.2f, %-9.2f) ", CREAL(C[i + j * ldc]), CIMAG(C[i + j * ldc]));
78 }
79 printf("\n");
80 }
81}
82
83int
84main(void)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected