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

Function printResult

src/samples/example_sspr.c:51–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49static const int incx = 1;
50
51static void
52printResult(void)
53{
54 size_t i, j, off;
55 printf("\nResult:\n");
56
57 off = 0;
58 for (i = 0; i < N; i++) {
59 for(j = 0; j < N; j++) {
60 if( ( (uplo == clblasUpper) && (i > j)) || ((uplo == clblasLower) && (j > i)) )
61 {
62 printf("\t\t");
63 continue;
64 }
65
66 printf("%8.2lf\t", AP[ off ]);
67 off ++ ;
68 }
69 printf("\n");
70 }
71}
72
73int
74main(void)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected