| 49 | static const int incx = 1; |
| 50 | |
| 51 | static void |
| 52 | printResult(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 | |
| 73 | int |
| 74 | main(void) |