Interface Documentation
Version: invalid
backend.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 namespace flecsi::data {
21 // Use {} if unknown:
22 enum disjointness { aliased = -1, disjoint = 1 };
23 enum completeness { incomplete = -1, complete = 1 };
24 } // namespace flecsi::data
25 
26 /*----------------------------------------------------------------------------*
27  This section works with the build system to select the correct runtime
28  implemenation for the data model.
29  *----------------------------------------------------------------------------*/
30 
31 #if FLECSI_RUNTIME_MODEL == FLECSI_RUNTIME_MODEL_legion
32 
34 
35 #elif FLECSI_RUNTIME_MODEL == FLECSI_RUNTIME_MODEL_mpi
36 
37 #include <flecsi/data/mpi/policy.hh>
38 
39 #elif FLECSI_RUNTIME_MODEL == FLECSI_RUNTIME_MODEL_hpx
40 
41 #include <flecsi/data/hpx/policy.hh>
42 
43 #endif // FLECSI_RUNTIME_MODEL
Definition: accessor.hh:31