Alien  1.3.0
Developer documentation
Loading...
Searching...
No Matches
BackEnd.h
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#pragma once
9
10#include <alien/utils/Precomp.h>
11#include <arccore/base/String.h>
12
13/*---------------------------------------------------------------------------*/
14/*---------------------------------------------------------------------------*/
15
16namespace Alien
17{
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22typedef String BackEndId;
23
24template <typename Tag>
26
27template <typename Tag>
29
30namespace BackEnd
31{
32 namespace tag
33 {
34 } // namespace tag
35
36 namespace Memory
37 {
38 typedef enum {
39 Host,
40 Device,
41 Shared
42 } eType;
43 }
44
45 namespace Exec
46 {
47 typedef enum {
48 Host,
49 Device
50 } eSpaceType;
51 }
52} // namespace BackEnd
53
54/*---------------------------------------------------------------------------*/
55/*---------------------------------------------------------------------------*/
56
57} // namespace Alien
58
59/*---------------------------------------------------------------------------*/
60/*---------------------------------------------------------------------------*/
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Definition BackEnd.h:17