1
1
openmpi/opal/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
..
keyval patched the lex files to not issue the following compiler warning: 2011-10-10 18:13:04 +00:00
arch.c - As discussed revert r21330, Fortran-configure info should 2009-06-01 19:02:34 +00:00
arch.h ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
argv.c Add a function to prepend a string to the beginning of an argv array - useful when building app_contexts from user input 2010-06-24 15:52:36 +00:00
argv.h Add a function to prepend a string to the beginning of an argv array - useful when building app_contexts from user input 2010-06-24 15:52:36 +00:00
basename.c ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
basename.h - Multiple functions, that allocate and return new 2009-05-14 00:20:07 +00:00
bit_ops.h - Check, whether the compiler supports __builtin_clz (count leading 2011-10-11 22:49:01 +00:00
cmd_line.c - The internal function may fail make_opt (e.g. OPAL_ERR_OUT_OF_RESOURCE), 2009-10-28 15:14:31 +00:00
cmd_line.h - Replace combinations of 2009-08-20 11:42:18 +00:00
convert.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
convert.h On windows make sure we add the initial path separator only if we are 2007-07-01 17:51:34 +00:00
crc.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
crc.h - Replace combinations of 2009-08-20 11:42:18 +00:00
daemon_init.c Next step in the project split, mainly source code re-arranging 2006-02-12 01:33:29 +00:00
daemon_init.h - Replace combinations of 2009-08-20 11:42:18 +00:00
error.c Fix the output of error strings. Every convertor is returning OPAL_SUCCESS, so you have to check each convertor to find which one this error belongs to, and then run ONLY that convertor. 2011-08-08 04:10:40 +00:00
error.h Extend node stats to include additional memory info. Change "darwin" pstat module to "test" as we don't really know how to get all the stat info for darwin. 2011-05-08 14:45:16 +00:00
fd.c Define that we return OPAL_ERR_TIMEOUT if the other end of the socket 2010-08-24 19:07:04 +00:00
fd.h Define that we return OPAL_ERR_TIMEOUT if the other end of the socket 2010-08-24 19:07:04 +00:00
few.c One typo and one UNIX conversion of EOL. 2006-08-25 23:22:35 +00:00
few.h - Replace combinations of 2009-08-20 11:42:18 +00:00
help-opal-util.txt Cleanup the handling of if_include and if_exclude arguments based on CIDR notation. 2011-06-07 02:09:11 +00:00
if.c Simplify the code a little bit by recognizing that end=start isn't an error, but just indicates a partial address typical of CIDR notation. 2011-06-07 11:33:22 +00:00
if.h Cleanup the handling of if_include and if_exclude arguments based on CIDR notation. 2011-06-07 02:09:11 +00:00
keyval_parse.c One big step forward. Mostly explicit casting for Windows plus the 2006-08-22 20:07:42 +00:00
keyval_parse.h - Replace combinations of 2009-08-20 11:42:18 +00:00
Makefile.am Fix mistake that came in via the ompi-agen tree in r23764. The mistake wasn't part of the core autogen upgrade; it was an additional 'bonus' cleanup. Oops. The mistake will always create a set of directories under installdir, even if you do not --with-devel-headers. The set of directories will be empty, but still -- they should not be there at all. This commit fixes that -- the directories are not created at all if you do not --with-devel-headers 2010-09-24 22:53:28 +00:00
malloc.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
malloc.h - Replace combinations of 2009-08-20 11:42:18 +00:00
net.c Cleanup the IPv4 address parsing, and correct the error message. 2011-06-06 03:08:02 +00:00
net.h - An intrusive commit yet again (sorry): with the separation we 2009-03-04 15:35:54 +00:00
numtostr.c Next step in the project split, mainly source code re-arranging 2006-02-12 01:33:29 +00:00
numtostr.h Change a bunch of 'OMPI' names to OPAL names, since this is opal. 2007-03-29 01:00:33 +00:00
opal_environ.c Use the correct prefix. 2008-03-31 21:42:59 +00:00
opal_environ.h - An intrusive commit yet again (sorry): with the separation we 2009-03-04 15:35:54 +00:00
opal_getcwd.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
opal_getcwd.h - As long as a header declares _DECLSPEC functionality 2009-03-17 01:45:19 +00:00
opal_pty.c Missed this change suggested by Terry 2011-02-08 04:06:52 +00:00
opal_pty.h - Replace combinations of 2009-08-20 11:42:18 +00:00
opal_sos_reporter.txt Merge OPAL SOS into the trunk. 2010-05-17 22:51:52 +00:00
opal_sos.c Enumerated mixed with another type (int) is tolerated but 2011-10-09 03:54:52 +00:00
opal_sos.h SOS fix for the Studio compilers (Thanks to Terry for spotting this). 2011-02-03 22:36:28 +00:00
os_dirpath.c Add the initial support for MinGW and MSYS. 2011-04-29 14:42:07 +00:00
os_dirpath.h On windows make sure we add the initial path separator only if we are 2007-07-01 17:51:34 +00:00
os_path.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
os_path.h - Replace combinations of 2009-08-20 11:42:18 +00:00
output.c fix a non if-controlled brace. 2011-02-22 11:45:43 +00:00
output.h Add the initial support for MinGW and MSYS. 2011-04-29 14:42:07 +00:00
path.c Added copyright notices for the files modified in r23669. 2010-08-30 17:46:47 +00:00
path.h - Check whether file is opened on network file-system. 2010-02-10 23:18:29 +00:00
printf.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
printf.h Fix some typos in comments submitted by Bert Wesarg. 2009-03-03 12:50:46 +00:00
qsort.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
qsort.h - Replace combinations of 2009-08-20 11:42:18 +00:00
show_help_lex.h - Replace combinations of 2009-08-20 11:42:18 +00:00
show_help_lex.l patched the lex files to not issue the following compiler warning: 2011-10-10 18:13:04 +00:00
show_help.c Don't segfault if show_help is called prior to calling opal_init_util 2011-06-27 16:35:19 +00:00
show_help.h Ran across this comment about i18n support, so I figured I'd update 2011-04-22 12:14:20 +00:00
stacktrace.c Solve a few compilation problems on Windows. 2010-05-21 14:30:15 +00:00
stacktrace.h Adding a new function to return the stack trace (not including the call to the function itself) 2010-05-17 22:57:42 +00:00
strncpy.c Next step in the project split, mainly source code re-arranging 2006-02-12 01:33:29 +00:00
strncpy.h - Replace combinations of 2009-08-20 11:42:18 +00:00
sys_limits.c Get rid of the annoying error messages when setrlimit fails, which seems to be a constant problem on the Mac. Don't use the changed values for max limits if the setrlimit call failed. 2011-05-17 03:27:43 +00:00
sys_limits.h - Replace combinations of 2009-08-20 11:42:18 +00:00
trace.c Next step in the project split, mainly source code re-arranging 2006-02-12 01:33:29 +00:00
trace.h - Replace combinations of 2009-08-20 11:42:18 +00:00