1
0
Fork 0
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.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
bessel Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
exp_log Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
iperb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
power Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
trigo Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Makefile Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
float_bessel.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
float_exp_log.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
float_iperb.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
float_power.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
float_trigo.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
main.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
tfloat.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
thread_code.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years 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.