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

Function printResult

src/samples/example_sspr2.c:60–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58static const int incy = 1;
59
60static void
61printResult(void)
62{
63 size_t i, j, off;
64 printf("\nResult:\n");
65
66 off = 0;
67 for (i = 0; i < N; i++) {
68 for(j = 0; j < N; j++) {
69 if( ( (uplo == clblasUpper) && (i > j)) || ((uplo == clblasLower) && (j > i)) )
70 {
71 printf("\t\t");
72 continue;
73 }
74
75 printf("%8.2lf\t", AP[ off ]);
76 off ++ ;
77 }
78 printf("\n");
79 }
80}
81
82int
83main(void)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected