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 //----------------------------------------------------------------------------//
21 // This section works with the build system to select the correct runtime
22 // implemenation for the task model. If you add to the possible runtimes,
23 // remember to edit config/packages.cmake to include a definition using
24 // the same convention, e.g., -DFLECSI_RUNTIME_MODEL_new_runtime.
25 //----------------------------------------------------------------------------//
26 
27 #if FLECSI_RUNTIME_MODEL == FLECSI_RUNTIME_MODEL_legion
28 
30 
31 #elif FLECSI_RUNTIME_MODEL == FLECSI_RUNTIME_MODEL_mpi
32 
34 
35 #elif FLECSI_RUNTIME_MODEL == FLECSI_RUNTIME_MODEL_hpx
36 
37 #include "flecsi/exec/hpx/policy.hh"
38 
39 #endif // FLECSI_RUNTIME_MODEL