Publishing R3
[platform/upstream/dldt.git] / inference-engine / thirdparty / clDNN / common / boost / 1.64.0 / include / boost-1_64 / boost / numeric / odeint / external / vexcl / vexcl_algebra_dispatcher.hpp
1 /*
2   [auto_generated]
3   boost/numeric/odeint/external/vexcl/vexcl_algebra_dispatcher.hpp
4
5   [begin_description]
6   algebra_dispatcher specialization for vexcl
7   [end_description]
8
9   Copyright 2013 Karsten Ahnert
10   Copyright 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_VEXCL_VEXCL_ALGEBRA_DISPATCHER_HPP_DEFINED
19 #define BOOST_NUMERIC_ODEINT_EXTERNAL_VEXCL_VEXCL_ALGEBRA_DISPATCHER_HPP_DEFINED
20
21 #include <vexcl/vector.hpp>
22 #include <vexcl/multivector.hpp>
23
24 #include <boost/numeric/odeint/algebra/vector_space_algebra.hpp>
25 #include <boost/numeric/odeint/algebra/algebra_dispatcher.hpp>
26
27
28 namespace boost {
29 namespace numeric {
30 namespace odeint {
31
32 // specialization for vexcl vector
33 template< typename T >
34 struct algebra_dispatcher< vex::vector< T > >
35 {
36     typedef vector_space_algebra algebra_type;
37 };
38
39 // specialization for vexcl multivector
40 template< typename T , size_t N >
41 struct algebra_dispatcher< vex::multivector< T , N > >
42 {
43     typedef vector_space_algebra algebra_type;
44 };
45
46 } // namespace odeint
47 } // namespace numeric
48 } // namespace boost
49
50
51 #endif // BOOST_NUMERIC_ODEINT_EXTERNAL_VEXCL_VEXCL_ALGEBRA_DISPATCHER_HPP_DEFINED