1
1
openmpi/test/util
Rainer Keller 4e6a6fc146 - Check, whether the compiler supports __builtin_clz (count leading
zeroes);
   if so, use it for bit-operations like opal_cube_dim and opal_hibit.
   Implement two versions of power-of-two.
   In case of opal_next_poweroftwo, this reduces the average execution
   time from 83 cycles to 4 cycles (Intel Nehalem, icc, -O2, inlining,
   measured rdtsc, with loop over 2^27 values).
   Numbers for other functions are similar (but of course heavily depend
   on the usage, e.g. opal_hibit() with a start of 4 does not save
   much).  The bsr instruction on AMD Opteron is also not as fast.

 - Replace various places where the next power-of-two is computed.
   
   Tested on Intel Nehalem Cluster with openib, compilers GNU-4.6.1 and
   Intel-12.0.4 using mpi_testsuite -t "Collective" with 128 processes.

This commit was SVN r25270.
2011-10-11 22:49:01 +00:00
..
Makefile.am - Check, whether the compiler supports __builtin_clz (count leading 2011-10-11 22:49:01 +00:00
ompi_numtostr.c * rename ompi_if to opal_if 2005-07-04 01:36:20 +00:00
opal_argv.c * forgot to fix up includes in the test directory with yesterday's commit. 2006-02-12 19:51:24 +00:00
opal_basename.c ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
opal_bit_ops.c - Check, whether the compiler supports __builtin_clz (count leading 2011-10-11 22:49:01 +00:00
opal_error.c - Adapt for changed opal_init() arguments -- takes argc&argv 2010-02-10 18:29:01 +00:00
opal_if.c - Adapt for changed opal_init() arguments -- takes argc&argv 2010-02-10 18:29:01 +00:00
opal_os_create_dirpath.c * Wrap all the direct error-code checks of the form (OMPI_ERR_* == ret) with 2010-05-17 23:08:56 +00:00
opal_os_path.c - Adapt for changed opal_init() arguments -- takes argc&argv 2010-02-10 18:29:01 +00:00
opal_path_nfs.c Added copyright notices for the files modified in r23669. 2010-08-30 17:46:47 +00:00
opal_sos.c s/ompi/opal/g throughout the file, because this is really an OPAL 2010-07-28 14:18:16 +00:00
opal_timer.c - Adapt for changed opal_init() arguments -- takes argc&argv 2010-02-10 18:29:01 +00:00
orte_session_dir.c By popular demand the epoch code is now disabled by default. 2011-08-26 22:16:14 +00:00
orte_universe_setup_file_io.c - Adapt for changed opal_init() arguments -- takes argc&argv 2010-02-10 18:29:01 +00:00