Arcane  v4.1.1.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
MemoryCopierTpl2.cc
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/* MemoryCopierTpl2.cc (C) 2000-2025 */
9/* */
10/* Fonctions de copie mémoire sur accélérateur. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arccore/accelerator/internal/AcceleratorMemoryCopier.h"
15
16/*---------------------------------------------------------------------------*/
17/*---------------------------------------------------------------------------*/
18
19namespace Arcane::Accelerator::impl
20{
21
22/*---------------------------------------------------------------------------*/
23/*---------------------------------------------------------------------------*/
24
27{
28 using namespace Arcane::impl;
29
31 addCopier<SpecificType<Int16, ExtentValue<3>>>(); // 6
32 addCopier<SpecificType<std::byte, ExtentValue<7>>>(); // 7
33 addCopier<SpecificType<Int64, ExtentValue<1>>>(); // 8
34 addCopier<SpecificType<std::byte, ExtentValue<9>>>(); // 9
35 addCopier<SpecificType<Int16, ExtentValue<5>>>(); // 10
36 addCopier<SpecificType<Int32, ExtentValue<3>>>(); // 12
37}
38
39/*---------------------------------------------------------------------------*/
40/*---------------------------------------------------------------------------*/
41
42} // namespace Arcane::Accelerator::impl
43
44/*---------------------------------------------------------------------------*/
45/*---------------------------------------------------------------------------*/