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

Function printResult

src/samples/example_cherk.cpp:69–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected