Sanchayan Maity
2fcc51c2c1
While at it also add the libpthread static library amd m5op_x86 for matrix multiplication test code as well. Note that the splash2 benchmark code does not comply with gem5 coding guidelines. Academic guys never seem to follow 80 columns and no whitespace guideline :(.
23 lines
1.5 KiB
C
23 lines
1.5 KiB
C
/*************************************************************************/
|
|
/* */
|
|
/* Copyright (c) 1994 Stanford University */
|
|
/* */
|
|
/* All rights reserved. */
|
|
/* */
|
|
/* Permission is given to use, copy, and modify this software for any */
|
|
/* non-commercial purpose as long as this copyright notice is not */
|
|
/* removed. All other uses, including redistribution in whole or in */
|
|
/* part, are forbidden without prior written permission. */
|
|
/* */
|
|
/* This software is provided with absolutely no warranty and no */
|
|
/* support. */
|
|
/* */
|
|
/*************************************************************************/
|
|
|
|
/* contains the definitions of certain system constants */
|
|
|
|
#define MAXODR 7 /* Order of predictor-corrector method + 1 */
|
|
#define NATOM 3 /* Atoms per molecule, H-O-H */
|
|
#define MXOD2 (MAXODR+2) /* Variables maintained per mol */
|
|
#define NDIR 3 /* Number of spatial directions */
|
|
|