You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
7 months ago
..
bessel v811_spc009_project 7 months ago
exp_log v811_spc009_project 7 months ago
iperb v811_spc009_project 7 months ago
power v811_spc009_project 7 months ago
trigo v811_spc009_project 7 months ago
Makefile v811_spc009_project 7 months ago
README v811_spc009_project 7 months ago
float_bessel.c v811_spc009_project 7 months ago
float_exp_log.c v811_spc009_project 7 months ago
float_iperb.c v811_spc009_project 7 months ago
float_power.c v811_spc009_project 7 months ago
float_trigo.c v811_spc009_project 7 months ago
main.c v811_spc009_project 7 months ago
tfloat.h v811_spc009_project 7 months ago
thread_code.c v811_spc009_project 7 months ago

README

cpio -idvB <livr.cpio

there are 5 sets of datafiles [trigo, power, iperb, exp_log, bessel]

there are 5 testcases [float_trigo, float_power, float_iperb, float_exp_log,
float_bessel]

how to do it
============
1)

first of all you have to generate datafiles, following is the trigo set of
datafiles way of doing:
/* there is a readme file within the directory if necessary */

$ cd trigo

/* compile */
$ make all

/* start the trigo datafiles generator */
$ gentrigo

/* check that make install will install datafiles where they've to be placed */
/* check that repository is existing */
/* see Makefile file */
$ make install

2) do the same with the others (iperb, exp_log, power & bessel)

...........................................................................
3) compiling & installing testcases

$ cd ..
$ make all
$ make install
..........................................................................
/* starting the testcase */
$ cd ../bin
$ float_trigo
$ float_power
$ float_exp_log
$ float_iperb
$ float_bessel
$ echo $?
0
$

Notes:
------
1)
/* datafiles are supposed to be placed to the same directory as executables */
/* this can be changed giving the absolute path of the directory to the
 testcase ex:$ float_trigo -D /home/linux/livr */

2) number of threads is initialized to 20 per function

3) number of loops is initialized to 500 (ability to view cpus loading)

4) these tests have been started on ia64 and ia32 architectures.