diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-04-11 18:24:47 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-04-11 18:24:47 +0200 |
commit | 204aeb03daf43e73546077c8f72538ad3b6ac75b (patch) | |
tree | 91525622dd7dddb9586ad176b298b579cbdf6a16 /modules/codec | |
parent | 5969e94c88f7db8cfe017190a27faf86b42b1a5f (diff) |
codec, remote-opencl: Trying out opencl and ammending parts of codec for
it
Diffstat (limited to 'modules/codec')
-rw-r--r-- | modules/codec/c++/rpc.hpp | 4 | ||||
-rw-r--r-- | modules/codec/c++/schema.hpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/modules/codec/c++/rpc.hpp b/modules/codec/c++/rpc.hpp index 6b606e2..5f29f6e 100644 --- a/modules/codec/c++/rpc.hpp +++ b/modules/codec/c++/rpc.hpp @@ -3,7 +3,7 @@ namespace saw { /** - * + * Representing data on the remote */ template<typename T, typename Remote> class remote_data { @@ -75,7 +75,7 @@ class remote_address { * Reference Backend structure */ template<typename T> -class remote_api { +class remote { static_assert(always_false<T>, "Type of backend not supported"); /** diff --git a/modules/codec/c++/schema.hpp b/modules/codec/c++/schema.hpp index 3d20c10..5a2f440 100644 --- a/modules/codec/c++/schema.hpp +++ b/modules/codec/c++/schema.hpp @@ -5,6 +5,10 @@ #include <forstio/string_literal.hpp> namespace saw { +template <class T> struct is_primitive { + constexpr static bool value = false; +}; + namespace schema { // NOLINTBEGIN template <typename T, string_literal Literal> struct Member { @@ -262,10 +266,6 @@ template <class T, size_t Dim> struct is_array<schema::Array<T,Dim>> { constexpr static bool value = true; }; -template <class T> struct is_primitive { - constexpr static bool value = false; -}; - template <typename T, size_t N> struct is_primitive<schema::Primitive<T,N>> { constexpr static bool value = true; }; |