1 /* Copyright (c) 2012, 2014. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
11 //#define SIMPLE_MATRIX
13 void matrices_initialisation(double ** p_a, double ** p_b, double ** p_c,
14 size_t m, size_t k_a, size_t k_b, size_t n,
15 size_t row, size_t col);
16 void matrices_allocation(double ** p_a, double ** p_b, double ** p_c,
17 size_t m, size_t k_a, size_t k_b, size_t n);
18 void blocks_initialisation(double ** p_a_local, double ** p_b_local,
19 size_t m, size_t B_k, size_t n);
22 void check_result(double *c, double *a, double *b,
23 size_t m, size_t n, size_t k_a, size_t k_b,
24 size_t row, size_t col,
25 size_t size_row, size_t size_col);