|
Boost-Commit : |
From: dgregor_at_[hidden]
Date: 2008-04-29 13:57:54
Author: dgregor
Date: 2008-04-29 13:57:54 EDT (Tue, 29 Apr 2008)
New Revision: 44887
URL: http://svn.boost.org/trac/boost/changeset/44887
Log:
Add support for MPI_SIGNED_CHAR to Boost.MPI
Text files modified:
trunk/boost/mpi/datatype.hpp | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Modified: trunk/boost/mpi/datatype.hpp
==============================================================================
--- trunk/boost/mpi/datatype.hpp (original)
+++ trunk/boost/mpi/datatype.hpp 2008-04-29 13:57:54 EDT (Tue, 29 Apr 2008)
@@ -293,6 +293,11 @@
BOOST_MPI_DATATYPE(unsigned __int64, MPI_UNSIGNED_LONG_LONG, builtin);
#endif
+// Define signed char specialization of is_mpi_datatype, if possible.
+#if defined(MPI_SIGNED_CHAR) || (defined(MPI_VERSION) && MPI_VERSION >= 2)
+BOOST_MPI_DATATYPE(signed char, MPI_SIGNED_CHAR, builtin);
+#endif
+
#endif // Doxygen
namespace detail {
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk