Arcane
v4.1.2.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
MemoryCopierTpl1.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
/* MemoryCopierTpl1.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
namespace
Arcane::Accelerator::impl
17
{
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
void
AcceleratorSpecificMemoryCopyList::
23
addExplicitTemplate1
()
24
{
25
using namespace
Arcane::impl;
26
28
addCopier<SpecificType<std::byte, ExtentValue<1>
>>();
// 1
29
addCopier<SpecificType<Int16, ExtentValue<1>
>>();
// 2
30
addCopier<SpecificType<std::byte, ExtentValue<3>
>>();
// 3
31
addCopier<SpecificType<Int32, ExtentValue<1>
>>();
// 4
32
addCopier<SpecificType<std::byte, ExtentValue<5>
>>();
// 5
33
}
34
35
/*---------------------------------------------------------------------------*/
36
/*---------------------------------------------------------------------------*/
37
38
}
// namespace Arcane::Accelerator::impl
39
40
/*---------------------------------------------------------------------------*/
41
/*---------------------------------------------------------------------------*/
Arcane::Accelerator::impl::AcceleratorSpecificMemoryCopyList::addExplicitTemplate1
void addExplicitTemplate1()
Definition
MemoryCopierTpl1.cc:23
Arcane::impl::SpecificMemoryCopyList< AcceleratorIndexedCopyTraits >::addCopier
void addCopier()
Definition
SpecificMemoryCopyList.h:183
arccore
src
accelerator
arccore
accelerator
MemoryCopierTpl1.cc
Généré le Lundi 29 Décembre 2025 03:37:49 pour Arcane par
1.13.2