Arcane  v4.1.2.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
RuntimeLoader.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* RuntimeLoader.h (C) 2000-2025 */
9/* */
10/* Gestion du chargement du runtime accélérateur. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCCORE_COMMON_ACCELERATOR_INTERNAL_RUNTIMELOADER_H
13#define ARCCORE_COMMON_ACCELERATOR_INTERNAL_RUNTIMELOADER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arccore/common/accelerator/CommonAcceleratorGlobal.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane::Accelerator::Impl
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
30class ARCCORE_COMMON_EXPORT RuntimeLoader
31{
32 public:
33
35 const String& default_runtime_name,
36 const String& library_path,
37 bool& has_accelerator);
38};
39
40/*---------------------------------------------------------------------------*/
41/*---------------------------------------------------------------------------*/
42
43} // namespace Arcane::Accelerator::Impl
44
45/*---------------------------------------------------------------------------*/
46/*---------------------------------------------------------------------------*/
47
48#endif
Gestion du chargement du runtime accélérateur.
static int loadRuntime(AcceleratorRuntimeInitialisationInfo &init_info, const String &default_runtime_name, const String &library_path, bool &has_accelerator)
Détecte et charge la bibliothèque de gestion du runtime des accélérateurs.
Chaîne de caractères unicode.