Arcane
v4.1.2.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
19
namespace
Arcane::Accelerator::impl
20
{
21
22
/*---------------------------------------------------------------------------*/
23
/*---------------------------------------------------------------------------*/
24
25
void
AcceleratorSpecificMemoryCopyList::
26
addExplicitTemplate2
()
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
/*---------------------------------------------------------------------------*/
Arcane::Accelerator::impl::AcceleratorSpecificMemoryCopyList::addExplicitTemplate2
void addExplicitTemplate2()
Definition
MemoryCopierTpl2.cc:26
Arcane::impl::SpecificMemoryCopyList< AcceleratorIndexedCopyTraits >::addCopier
void addCopier()
Definition
SpecificMemoryCopyList.h:183
arccore
src
accelerator
arccore
accelerator
MemoryCopierTpl2.cc
Généré le Lundi 29 Décembre 2025 03:37:49 pour Arcane par
1.13.2