Commit d663a2e1 authored by Dominik Charousset's avatar Dominik Charousset

CPPA_OPENCL doesn't need to be set for user apps

instead of requiring users to define CPPA_OPENCL, the library will
throw an exception if compiled without OpenCL support
parent 5025ed24
......@@ -64,7 +64,6 @@ option<cow_tuple<Ts...>> default_map_args(any_tuple msg) {
return tuple_cast<Ts...>(msg);
}
#ifdef CPPA_OPENCL
class command_dispatcher {
struct worker;
......@@ -174,10 +173,6 @@ class command_dispatcher {
command_ptr);
};
#else // CPPA_OPENCL
class command_dispatcher : public detail::singleton_mixin<command_dispatcher> { };
#endif // CPPA_OPENCL
command_dispatcher* get_command_dispatcher();
} } // namespace cppa::opencl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment