| 128 | == GEMVER == |

| 129 | {{{ |

| 130 | for (i=0; i<=N-1; i++) |

| 131 | for (j=0; j<=N-1; j++) |

| 132 | B[i][j] = A[i][j] + u1[i]*v1[j] + u2[i]*v2[j]; |

| 133 | for (i=0; i<=N-1; i++) |

| 134 | for (j=0; j<=N-1; j++) |

| 135 | x[i] = x[i] + beta* B[j][i]*y[j]; |

| 136 | for (i=0; i<=N-1; i++) |

| 137 | x[i] = x[i] + z[i]; |

| 138 | for (i=0; i<=N-1; i++) |

| 139 | for (j=0; j<=N-1; j++) |

| 140 | w[i] = w[i] + alpha* B[i][j]*x[j]; |

| 141 | }}} |

| 142 | |

| 143 | === Sequential (single core) === |

| 144 | [[Image(gemver.png,nolink)]] |

| 145 | |

| 146 | === Parallel (multi-core) === |

| 147 | [[Image(gemver-par.png,nolink)]] |

| 148 | |