George Bosilca
aa1c1e70c6
Fix the datatype bug noticed by Rainer. Under some circumstances (and only for
...
predefined datatypes) the optimized description was set to NULL instead of
pointing to some valid description. As for some data, having an optimized
version is not possible (as no optimizations bring any benefit), we have
to make sure this field (opt_desc) is always correctly initialized.
This commit was SVN r10112.
2006-05-27 06:21:27 +00:00
George Bosilca
1c55956db1
Extend Sven patch for pack/unpack.
...
This commit was SVN r10040.
2006-05-24 14:48:00 +00:00
George Bosilca
e832aac7b1
This is always on the critical path so let's make it static inline.
...
This commit was SVN r10020.
2006-05-23 03:22:15 +00:00
George Bosilca
1dcd70ad80
The master convertor is the one that knows if the peers are
...
homogeneous or heterogeneous.
This commit was SVN r10005.
2006-05-22 06:22:32 +00:00
George Bosilca
eb149cb9c8
Move the datatype tests in its own directory.
...
This commit was SVN r10003.
2006-05-22 06:12:43 +00:00
Brian Barrett
96bf81a329
* datatype_check might need to uptdate the value of count (if we received
...
less than we posted for). We were passing by value, so this update was
not being propgated back up the stack and we could segfault. Make the
count argument a pointer so that updates will be passed as expected.
This needs to go to the v1.1 branch
This commit was SVN r9991.
2006-05-19 21:58:12 +00:00
George Bosilca
8338a79082
This one belong to the previous commit but it somehow get lost ...
...
This commit was SVN r9830.
2006-05-05 04:32:42 +00:00
George Bosilca
3929ae7010
Add more knowledge into the master convertor. Now all the conversion
...
function are stored in a single location, th master convertor. With the
old information (mainly the remote sizes for each predefined data-type)
now we know everything we need about the remote peers.
This commit was SVN r9829.
2006-05-05 04:30:11 +00:00
George Bosilca
4438be5bcb
Ditch one more function call. Make the initialization step as small as
...
possible.
This commit was SVN r9828.
2006-05-05 03:42:18 +00:00
George Bosilca
a55d4632c6
Continue the cleaning, shrink the convertor initialization function.
...
This commit was SVN r9827.
2006-05-05 03:25:31 +00:00
George Bosilca
c53914ce31
Smallest overhead for contiguous predefined datatypes. There is now a special path
...
in the convertor code for predefined contiguous types.
This commit was SVN r9821.
2006-05-04 22:21:09 +00:00
George Bosilca
d8eb9978a6
Rearrange the convertor initialization, in order to make the upgrade required
...
for contiguous types simpler.
This commit was SVN r9818.
2006-05-04 17:36:08 +00:00
George Bosilca
93ccbc666a
The macro is alreadfy defined in one of the header file.
...
This commit was SVN r9809.
2006-05-04 07:06:58 +00:00
George Bosilca
0aa7587dd7
More timers around the pack/unpack functions.
...
This commit was SVN r9778.
2006-04-29 04:23:49 +00:00
George Bosilca
1af7a797f8
Vector type is the one I work on.
...
This commit was SVN r9774.
2006-04-28 16:20:47 +00:00
George Bosilca
b990870b55
Keep only the fastest version of the homogeneous unpack. Reorder the code
...
to improve the execution path. Some minor clean-ups.
This commit was SVN r9773.
2006-04-28 16:19:54 +00:00
George Bosilca
e23c3008a6
Keep only the best [the fastest] version of the unpack function.
...
This commit was SVN r9772.
2006-04-28 16:18:29 +00:00
George Bosilca
5133c987e3
Move the code around to shorten the execution path for the most common data-types.
...
This commit was SVN r9771.
2006-04-28 16:17:28 +00:00
George Bosilca
0fd4e2d906
Optimize the execution path.
...
This commit was SVN r9763.
2006-04-27 22:25:53 +00:00
George Bosilca
faba013106
Move tests. Most of the checking are now disabled, only the performance one
...
are still active.
This commit was SVN r9762.
2006-04-27 22:25:02 +00:00
George Bosilca
ced5d564cf
Make sure we set the COMPLETED flag on the convertor in all the cases.
...
This commit was SVN r9761.
2006-04-27 20:53:28 +00:00
George Bosilca
80a53c7aff
More tests, some comments, some new data-types. First step for the performance framework.
...
This commit was SVN r9760.
2006-04-27 20:52:43 +00:00
George Bosilca
0fcae472aa
Detect when the convertor is done with the conversion in a more
...
generic way.
This commit was SVN r9756.
2006-04-27 17:25:56 +00:00
George Bosilca
cabf703dad
No need for the assert after a loop.
...
This commit was SVN r9755.
2006-04-27 17:25:21 +00:00
George Bosilca
aa11164fdc
Update the test to match the latest version of the convertor.
...
This commit was SVN r9754.
2006-04-27 17:24:53 +00:00
George Bosilca
29fe545451
Remove all references to the ompi_mpi_long_long variable. The MPI_LONG_LONG is now
...
a synonym to MPI_LONG_LONG_INT.
This commit was SVN r9703.
2006-04-24 22:15:42 +00:00
George Bosilca
40bcb2fb36
Still some long long left over. Should be clean by now.
...
This commit was SVN r9701.
2006-04-24 21:40:16 +00:00
George Bosilca
a297a7ae67
MPI standard state that MPI_LONG_LONG and MPI_LONG_LONG_INT are synonyms. Thanks to
...
Martin audet for finding out this one.
This commit was SVN r9699.
2006-04-24 21:24:10 +00:00
Brian Barrett
453f9b870f
* Rename two files that had conflicting basenames with files in mpi/c/. This
...
can cause issues on some platforms (since they end up in the same .a file)
This commit was SVN r9685.
2006-04-22 20:03:45 +00:00
George Bosilca
87269ba0aa
Add 3 functions for Galen. The allow to import, export and reset the
...
pending bytes from the convertor. These bytes are used to handle partial
conversions between peers.
This commit was SVN r9531.
2006-04-05 03:04:50 +00:00
George Bosilca
af7930a498
Don't forget to add the new .h file to the distribution list.
...
This commit was SVN r9437.
2006-03-28 07:16:39 +00:00
George Bosilca
c93680074f
Enable the master convertor and add a function to clean them all up. Without talking
...
about the comments :)
This commit was SVN r9435.
2006-03-28 05:11:48 +00:00
George Bosilca
deb1b237a7
First cut of a unique architecture base master convertor. It will hold the sizes
...
of the predefined types as seen by the remote architecture, as well as some
pointers to the conversion functions. Still in progress, but it should just fine
for what we have today in Open MPI.
This commit was SVN r9433.
2006-03-28 03:16:53 +00:00
Galen Shipman
af02867322
Use ones compiliment so we don't kill previously set flags..
...
This commit was SVN r9428.
2006-03-27 16:12:22 +00:00
George Bosilca
52e5d90a53
ompi_dt_swap_bytes is the way to go.
...
This commit was SVN r9424.
2006-03-25 07:12:07 +00:00
Brian Barrett
b6ddded1fa
* Fix bug in determining size of C++ bool when creating the predefined
...
datatype MPI::BOOL.
* Add first round of support for heterogeneous platforms. This includes
endianness and size difference for C++ bool and Fortran LOGICAL. It
does not include differences in sizes for any other datatype or for
different representations of floating point numbers.
This commit was SVN r9422.
2006-03-25 02:53:41 +00:00
George Bosilca
b22836ea93
Reset the completed flag when we roll-back the convertor.
...
This commit was SVN r9419.
2006-03-24 20:33:53 +00:00
Tim Woodall
b09c2dc1cd
correction of checksum for pending/buffered data
...
This commit was SVN r9367.
2006-03-22 16:47:12 +00:00
Brian Barrett
b74d3112ec
* add missing header file to headers list so that it ends up in the dist
...
tarball
This commit was SVN r9336.
2006-03-20 04:37:33 +00:00
Brian Barrett
01603d3d9f
* reorder copy_functions array to match current predefined datatype ordering
...
and add missing datatypes.
This commit was SVN r9335.
2006-03-20 01:16:30 +00:00
Tim Woodall
bd870519fd
- modified convertor copy_and_prepare routines to accept an addition
...
flag, new flags to be included when convertor is initialized
- modified pml/btl module defs and added stub functions for diagnostic
output routines to dump state of queues / endpoints
- updates to data reliability pml
This commit was SVN r9329.
2006-03-17 18:46:48 +00:00
George Bosilca
5819304916
Unfortunately, I cannot remove the log from SVN to erase all trace (for the sake
...
of the future generations) of my own way to define function prototypes.
Shame on me ...
This commit was SVN r9327.
2006-03-17 16:39:36 +00:00
George Bosilca
c2f001c0f2
Remove the dependency to datatype_memcpy.c. It's not yet ready for primetime.
...
This commit was SVN r9326.
2006-03-17 16:03:23 +00:00
George Bosilca
0fe57bb44c
Allow the convertor to select between pack/unpack with or without
...
checksum. Specify CONVERTOR_WITH_CHECKSUM when the convertor is
created and all the pack/unpack functions attached to this convertor
will be checksum aware.
This commit was SVN r9325.
2006-03-17 08:27:17 +00:00
George Bosilca
6babf2f874
Rename files.
...
This commit was SVN r9324.
2006-03-17 08:10:37 +00:00
George Bosilca
9955eb2f2e
Last step for the generation of 2 set of pack/unpack functions. One with
...
checksum and the other without. Split the large files into smaller one, and
put similar functions together.
This commit was SVN r9323.
2006-03-17 08:04:59 +00:00
George Bosilca
229f26dc55
First split of the datatype. More files and a cleaner distribution of functions
...
in the corresponding files. There are few others changes to come ...
This commit was SVN r9319.
2006-03-16 21:04:34 +00:00
George Bosilca
e79f35fe6c
Copy the last fake DT_END_LOOP too when we duplicate the data.
...
This commit was SVN r9309.
2006-03-16 17:21:10 +00:00
Rainer Keller
2ce64c6fc7
- Add missing signed_char
...
All hail the moog!
This commit was SVN r9299.
2006-03-16 11:06:59 +00:00
George Bosilca
49c40f596b
No data validation by default.
...
This commit was SVN r9295.
2006-03-16 01:35:49 +00:00