Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Accelerator.cc
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/* Accelerator.cc (C) 2000-2025 */
9/* */
10/* General declarations for accelerator support. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/accelerator/AcceleratorGlobal.h"
15
16#include "arcane/accelerator/Reduce.h"
17
18#include "arcane/AcceleratorRuntimeInitialisationInfo.h"
19
20#include "arcane/accelerator/SpanViews.h"
21
22#include "arccore/common/accelerator/internal/AcceleratorCoreGlobalInternal.h"
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27/*!
28 * \file RunCommandEnumerate.h
29 *
30 * \brief Types and macros to manage enumerations of entities on accelerators
31 */
32
33/*!
34 * \file RunCommandMaterialEnumerate.h
35 *
36 * \brief Types and macros to manage enumerations of materials and
37 * media on accelerators
38 */
39
40/*---------------------------------------------------------------------------*/
41/*---------------------------------------------------------------------------*/
42
46{
47 Impl::arccoreInitializeRunner(runner, tm, acc_info);
48}
49
50/*---------------------------------------------------------------------------*/
51/*---------------------------------------------------------------------------*/
void initializeRunner(Runner &runner, ITraceMng *tm, const AcceleratorRuntimeInitialisationInfo &acc_info)
Initializes runner based on the value of acc_info.