Skip to content

Commit

Permalink
[arccore] Déplace les types du namespace 'Arccore::MessagePassing' ve…
Browse files Browse the repository at this point in the history
…rs 'Arcane::MessagePassing'.
  • Loading branch information
grospelliergilles committed Feb 10, 2025
1 parent 87d1a86 commit 68d1b15
Show file tree
Hide file tree
Showing 42 changed files with 285 additions and 227 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* BasicSerializeMessage.cc (C) 2000-2020 */
/* BasicSerializeMessage.cc (C) 2000-2025 */
/* */
/* Message utilisant un BasicSerializeMessage. */
/*---------------------------------------------------------------------------*/
Expand All @@ -18,7 +18,7 @@
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

namespace Arccore::MessagePassing::internal
namespace Arcane::MessagePassing::internal
{

/*---------------------------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* BasicSerialize.h (C) 2000-2020 */
/* BasicSerialize.h (C) 2000-2025 */
/* */
/* Message utilisant un BasicSerializer. */
/*---------------------------------------------------------------------------*/
Expand All @@ -24,7 +24,7 @@
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

namespace Arccore::MessagePassing::internal
namespace Arcane::MessagePassing::internal
{

/*---------------------------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* Communicator.cc (C) 2000-2020 */
/* Communicator.cc (C) 2000-2025 */
/* */
/* Communicateur pour l'échange de message. */
/*---------------------------------------------------------------------------*/
Expand All @@ -18,7 +18,7 @@
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

namespace Arccore::MessagePassing
namespace Arcane::MessagePassing
{

/*---------------------------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* Communicator.h (C) 2000-2020 */
/* Communicator.h (C) 2000-2025 */
/* */
/* Communicateur pour l'échange de message. */
/*---------------------------------------------------------------------------*/
Expand All @@ -23,7 +23,7 @@
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

namespace Arccore::MessagePassing
namespace Arcane::MessagePassing
{
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2024 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* Dispatchers.cc (C) 2000-2024 */
/* Dispatchers.cc (C) 2000-2025 */
/* */
/* Conteneur des dispatchers. */
/*---------------------------------------------------------------------------*/
Expand All @@ -22,7 +22,7 @@
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

namespace Arccore::MessagePassing
namespace Arcane::MessagePassing
{

/*---------------------------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2024 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* Dispatchers.h (C) 2000-2024 */
/* Dispatchers.h (C) 2000-2025 */
/* */
/* Conteneur des dispatchers. */
/*---------------------------------------------------------------------------*/
Expand All @@ -21,7 +21,7 @@
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

namespace Arccore::MessagePassing
namespace Arcane::MessagePassing
{

/*---------------------------------------------------------------------------*/
Expand Down Expand Up @@ -85,7 +85,7 @@ class ARCCORE_MESSAGEPASSING_EXPORT Dispatchers

private:

BuiltInDataTypeContainer<ContainerTraits> m_container;
Arccore::BuiltInDataTypeContainer<ContainerTraits> m_container;

IControlDispatcher* m_control = nullptr;
ISerializeDispatcher* m_serialize = nullptr;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2023 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* GatherMessageInfo.cc (C) 2000-2023 */
/* GatherMessageInfo.cc (C) 2000-2025 */
/* */
/* Informations pour les messages 'gather'. */
/*---------------------------------------------------------------------------*/
Expand All @@ -18,7 +18,7 @@
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

namespace Arccore::MessagePassing
namespace Arcane::MessagePassing
{

/*---------------------------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2023 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* GatherMessageInfo.h (C) 2000-2023 */
/* GatherMessageInfo.h (C) 2000-2025 */
/* */
/* Informations pour les messages 'gather'. */
/*---------------------------------------------------------------------------*/
Expand All @@ -20,7 +20,7 @@
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

namespace Arccore::MessagePassing
namespace Arcane::MessagePassing
{
/*!
* \brief Informations pour un message 'gather'.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* IControlDispatcher.h (C) 2000-2022 */
/* IControlDispatcher.h (C) 2000-2025 */
/* */
/* Manage Control/Utility parallel messages. */
/*---------------------------------------------------------------------------*/
Expand All @@ -22,7 +22,7 @@
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

namespace Arccore::MessagePassing
namespace Arcane::MessagePassing
{
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
Expand All @@ -33,40 +33,42 @@ namespace Arccore::MessagePassing
class ARCCORE_MESSAGEPASSING_EXPORT IControlDispatcher
{
public:

virtual ~IControlDispatcher() = default;

public:
virtual void waitAllRequests(ArrayView<Request> requests) =0;

virtual void waitAllRequests(ArrayView<Request> requests) = 0;

virtual void waitSomeRequests(ArrayView<Request> requests,
ArrayView<bool> indexes, bool is_non_blocking) =0;
ArrayView<bool> indexes, bool is_non_blocking) = 0;

virtual IMessagePassingMng* commSplit(bool keep) =0;
virtual IMessagePassingMng* commSplit(bool keep) = 0;

virtual void barrier() =0;
virtual void barrier() = 0;

virtual Request nonBlockingBarrier() =0;
virtual Request nonBlockingBarrier() = 0;

virtual MessageId probe(const PointToPointMessageInfo& message) =0;
virtual MessageId probe(const PointToPointMessageInfo& message) = 0;

// NOTE novembre 2022
// Pour l'instant pas encore virtual pure pour rester compatible avec le code
// existant. L'implémentation lève une exception NotSupportedException
virtual MessageSourceInfo legacyProbe(const PointToPointMessageInfo& message);

//! Création d'une liste de requêtes associé à ce gestionnaire
virtual Ref<IRequestList> createRequestListRef() =0;
virtual Ref<IRequestList> createRequestListRef() = 0;

public:

virtual IProfiler* profiler() const =0;
virtual void setProfiler(IProfiler* p) =0;
virtual IProfiler* profiler() const = 0;
virtual void setProfiler(IProfiler* p) = 0;
};

/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

} // End namespace Arccore::MessagePassing
} // namespace Arcane::MessagePassing

/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2024 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* IDispatchers.h (C) 2000-2024 */
/* IDispatchers.h (C) 2000-2025 */
/* */
/* Interface du conteneur des dispatchers. */
/*---------------------------------------------------------------------------*/
Expand All @@ -19,7 +19,7 @@
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

namespace Arccore::MessagePassing
namespace Arcane::MessagePassing
{
class IControlDispatcher;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2024 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* IMessagePassingMng.h (C) 2000-2024 */
/* IMessagePassingMng.h (C) 2000-2025 */
/* */
/* Interface du gestionnaire des échanges de messages. */
/*---------------------------------------------------------------------------*/
Expand All @@ -19,7 +19,7 @@
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

namespace Arccore::MessagePassing
namespace Arcane::MessagePassing
{

/*---------------------------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* IProfiler.h (C) 2000-2020 */
/* IProfiler.h (C) 2000-2025 */
/* */
/* Interface du gestionnaire des échanges de messages. */
/*---------------------------------------------------------------------------*/
Expand All @@ -19,7 +19,7 @@
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

namespace Arccore::MessagePassing
namespace Arcane::MessagePassing
{

/*---------------------------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* IRequestList.h (C) 2000-2020 */
/* IRequestList.h (C) 2000-2025 */
/* */
/* Interface d'une liste de requêtes de messages. */
/*---------------------------------------------------------------------------*/
Expand All @@ -20,7 +20,7 @@
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

namespace Arccore::MessagePassing
namespace Arcane::MessagePassing
{
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
Expand Down
Loading

0 comments on commit 68d1b15

Please sign in to comment.