/* tab:8 * * expar-dx.h - Experimental Data Sets (Sequential Code) * * * "Copyright (c) 1996 The Regents of the University of Maryland. * All rights reserved. * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose, without fee, and without written agreement is * hereby granted, provided that the above copyright notice and the following * two paragraphs appear in all copies of this software. * * IN NO EVENT SHALL THE UNIVERSITY OF MARYLAND BE LIABLE TO ANY PARTY FOR * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF * MARYLAND HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * THE UNIVERSITY OF MARYLAND SPECIFICALLY DISCLAIMS ANY WARRANTIES, * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF MARYLAND HAS NO OBLIGATION TO * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS." * * Authors: David A. Bader * Joseph F. Ja'Ja' * Institute for Advanced Computer Studies * Department of Electrical Engineering * AV Williams Building * College Park, MD 20742 * * Version: 1.0 * Creation Date: July 25, 1996 * Filename: expar-dx.h * History: */ /******************************************************************* Note that the variable (void **)A points to a array of size PROCS of pointers, and each of these arrays has M elements. Thus, A[0] is the array of elements for processor 0, A[1] for processor 1, etc. ********************************************************************/ #ifndef EXPAR_DXH #define EXPAR_DXH void print_2D_array_i(int PROCS, int M, int **A, char *str); void fill_bench_i_N(int PROCS, int M, int **A); void fill_bench_i_C(int PROCS, int M, int **A); void fill_bench_i_R(int PROCS, int M, int **A); void fill_bench_i_S(int PROCS, int M, int **A); void fill_bench_i_Z(int PROCS, int M, int **A); void fill_pid(int PROCS, int M, int **A); void fill_hrel(int PROCS, int M, int **A, int h); void fill_bench_i_random(int PROCS, int M, int **A, int distrib); void fill_bench_i_same(int PROCS, int M, int **A); void fill_bench_i_block(int PROCS, int M, int **A); void print_2D_array_d(int PROCS, int M, double **A, char *str); void fill_bench_d_U(int PROCS, int M, double **B); void fill_bench_d_G(int PROCS, int M, double **B); void fill_bench_d_g_group(int PROCS, int M, double **B, int group); void fill_bench_d_B(int PROCS, int M, double **B); void fill_bench_d_S(int PROCS, int M, double **B); void fill_bench_d_Z(int PROCS, int M, double **B); #endif