Arcane  v4.1.1.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
16namespace Arcane::Accelerator::impl
17{
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
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/*---------------------------------------------------------------------------*/