2
0
mirror of https://github.com/boostorg/odeint.git synced 2026-01-26 18:52:20 +00:00

viennacl use default operations unless VIENNACL_WITH_OPENCL is defined

This commit is contained in:
Denis Demidov
2012-12-10 10:38:00 +04:00
parent 0d31c45001
commit 08f79fc74d

View File

@@ -19,14 +19,17 @@
#define BOOST_NUMERIC_ODEINT_EXTERNAL_VIENNACL_VIENNACL_OPERATIONS_HPP_INCLUDED
#include <viennacl/vector.hpp>
#include <viennacl/generator/custom_operation.hpp>
#ifdef VIENNACL_WITH_OPENCL
# include <viennacl/generator/custom_operation.hpp>
#endif
namespace boost {
namespace numeric {
namespace odeint {
#ifdef VIENNACL_WITH_OPENCL
struct viennacl_operations
{
@@ -209,6 +212,9 @@ struct viennacl_operations
};
#else
struct viennacl_operations : public default_operations {};
#endif
} // odeint