mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 23:49:00 +08:00
30 lines
1.5 KiB
Diff
30 lines
1.5 KiB
Diff
include/boost/mpi/detail/offsets.hpp | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/include/boost/mpi/detail/offsets.hpp b/include/boost/mpi/detail/offsets.hpp
|
|
index 8d33f8e..e6afaa0 100644
|
|
--- a/include/boost/mpi/detail/offsets.hpp
|
|
+++ b/include/boost/mpi/detail/offsets.hpp
|
|
@@ -17,10 +17,10 @@ namespace detail {
|
|
|
|
// Convert a sequence of sizes [S0..Sn] to a sequence displacement
|
|
// [O0..On] where O[0] = 0 and O[k+1] = O[k]+S[k].
|
|
-void BOOST_MPI_DECL sizes2offsets(int const* sizes, int* offsets, int n);
|
|
+BOOST_MPI_DECL void sizes2offsets(int const* sizes, int* offsets, int n);
|
|
|
|
// Same as size2offset(sizes.data(), offsets.data(), sizes.size())
|
|
-void BOOST_MPI_DECL sizes2offsets(std::vector<int> const& sizes, std::vector<int>& offsets);
|
|
+BOOST_MPI_DECL void sizes2offsets(std::vector<int> const& sizes, std::vector<int>& offsets);
|
|
|
|
// Given a sequence of sizes (typically the number of records dispatched
|
|
// to each process in a scater) and a sequence of displacements (typically the
|
|
@@ -33,7 +33,7 @@ void offsets2skipped(int const* sizes, int const* offsets, int* skipped, int n);
|
|
// displs are not already provided.
|
|
// If memory was allocated, returns a pointer to it
|
|
// otherwise null.
|
|
-int* BOOST_MPI_DECL make_offsets(communicator const& comm, int const* sizes, int const* displs, int root = -1);
|
|
+BOOST_MPI_DECL int* make_offsets(communicator const& comm, int const* sizes, int const* displs, int root = -1);
|
|
|
|
// Reconstruct skip slots from sizes and offsets.
|
|
// Only takes place if on the root process and if
|
|
|