Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
RegisterRuntimeInfo.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2024 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/* RegisterRuntimeInfo.h (C) 2000-2024 */
9/* */
10/* Informations pour initialiser le runtime accélérateur. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_ACCELERATOR_CORE_INTERNAL_REGISTERRUNTIMEINFO_H
13#define ARCANE_ACCELERATOR_CORE_INTERNAL_REGISTERRUNTIMEINFO_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/accelerator/core/internal/AcceleratorCoreGlobalInternal.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane::Accelerator
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
31{
32 public:
33
34 void setVerbose(bool v) { m_is_verbose = v; }
35 bool isVerbose() const { return m_is_verbose; }
36
37 private:
38
39 bool m_is_verbose = false;
40};
41
42/*---------------------------------------------------------------------------*/
43/*---------------------------------------------------------------------------*/
44
45} // namespace Arcane::Accelerator
46
47/*---------------------------------------------------------------------------*/
48/*---------------------------------------------------------------------------*/
49
50#endif
Informations pour initialiser le runtime accélérateur.
Espace de nom pour l'utilisation des accélérateurs.