Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
RegisterRuntimeInfo.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 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-2025 */
9/* */
10/* Information to initialize the accelerator runtime. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCCORE_COMMON_ACCELERATOR_INTERNAL_REGISTERRUNTIMEINFO_H
13#define ARCCORE_COMMON_ACCELERATOR_INTERNAL_REGISTERRUNTIMEINFO_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arccore/common/accelerator/internal/AcceleratorCoreGlobalInternal.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane::Accelerator
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
32{
33 public:
34
35 void setVerbose(bool v) { m_is_verbose = v; }
36 bool isVerbose() const { return m_is_verbose; }
37
38 private:
39
40 bool m_is_verbose = false;
41};
42
43/*---------------------------------------------------------------------------*/
44/*---------------------------------------------------------------------------*/
45
46} // namespace Arcane::Accelerator
47
48/*---------------------------------------------------------------------------*/
49/*---------------------------------------------------------------------------*/
50
51#endif
Information to initialize the accelerator runtime.