]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /* |
2 | [auto_generated] | |
3 | boost/numeric/odeint/external/compute/compute_operations_dispatcher.hpp | |
4 | ||
5 | [begin_description] | |
6 | operations_dispatcher specialization for Boost.Compute | |
7 | [end_description] | |
8 | ||
9 | Copyright 2009-2013 Karsten Ahnert | |
10 | Copyright 2009-2013 Mario Mulansky | |
11 | ||
12 | Distributed under the Boost Software License, Version 1.0. | |
13 | (See accompanying file LICENSE_1_0.txt or | |
14 | copy at http://www.boost.org/LICENSE_1_0.txt) | |
15 | */ | |
16 | ||
17 | ||
18 | #ifndef BOOST_NUMERIC_ODEINT_EXTERNAL_COMPUTE_COMPUTE_OPERATIONS_DISPATCHER_HPP_DEFINED | |
19 | #define BOOST_NUMERIC_ODEINT_EXTERNAL_COMPUTE_COMPUTE_OPERATIONS_DISPATCHER_HPP_DEFINED | |
20 | ||
21 | #include <boost/compute/container/vector.hpp> | |
22 | ||
23 | #include <boost/numeric/odeint/external/compute/compute_operations.hpp> | |
24 | #include <boost/numeric/odeint/algebra/operations_dispatcher.hpp> | |
25 | ||
26 | namespace boost { | |
27 | namespace numeric { | |
28 | namespace odeint { | |
29 | ||
30 | // specialization for Boost.Compute vector | |
31 | template< class T , class A > | |
32 | struct operations_dispatcher< boost::compute::vector< T , A > > | |
33 | { | |
34 | typedef compute_operations operations_type; | |
35 | }; | |
36 | ||
37 | } // namespace odeint | |
38 | } // namespace numeric | |
39 | } // namespace boost | |
40 | ||
41 | ||
42 | ||
43 | ||
44 | #endif // BOOST_NUMERIC_ODEINT_EXTERNAL_COMPUTE_COMPUTE_OPERATIONS_DISPATCHER_HPP_DEFINED |