/* mat-opt-ptrcast.c * * Matrix multiplication with cast from pointers to local shared data * to local regular pointers when possible. * (should be included in mat.c) */ int main() { int i,j,l; elem_t sum; elem_t *pa, *pc; double time0, time1; // Collective arrays initialization by t upc_forall(i=0;i