Interface Documentation
Version: invalid
flecsi
util
target.hh
Go to the documentation of this file.
1
/*
2
@@@@@@@@ @@ @@@@@@ @@@@@@@@ @@
3
/@@///// /@@ @@////@@ @@////// /@@
4
/@@ /@@ @@@@@ @@ // /@@ /@@
5
/@@@@@@@ /@@ @@///@@/@@ /@@@@@@@@@/@@
6
/@@//// /@@/@@@@@@@/@@ ////////@@/@@
7
/@@ /@@/@@//// //@@ @@ /@@/@@
8
/@@ @@@//@@@@@@ //@@@@@@ @@@@@@@@ /@@
9
// /// ////// ////// //////// //
10
11
Copyright (c) 2016, Triad National Security, LLC
12
All rights reserved.
13
*/
14
#pragma once
15
18
#include <flecsi-config.h>
19
20
#if !defined(__FLECSI_PRIVATE__)
21
#error Do not include this file directly!
22
#endif
23
24
//----------------------------------------------------------------------------//
25
// Pickup Kokkos defines if enabled.
26
//----------------------------------------------------------------------------//
27
28
#if defined(FLECSI_ENABLE_KOKKOS)
29
#include <Kokkos.hpp>
30
31
#define FLECSI_TARGET KOKKOS_FUNCTION
32
#define FLECSI_INLINE_TARGET KOKKOS_INLINE_FUNCTION
33
34
#endif // FLECSI_ENABLE_KOKKOS
35
36
//----------------------------------------------------------------------------//
37
// Defaults.
38
//----------------------------------------------------------------------------//
39
40
#if !defined(FLECSI_TARGET)
41
#define FLECSI_TARGET
42
#endif
43
44
#if !defined(FLECSI_INLINE_TARGET)
45
#define FLECSI_INLINE_TARGET inline
46
#endif
Generated by
1.8.13