From 204aeb03daf43e73546077c8f72538ad3b6ac75b Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 11 Apr 2024 18:24:47 +0200 Subject: codec, remote-opencl: Trying out opencl and ammending parts of codec for it --- modules/codec/c++/rpc.hpp | 4 ++-- modules/codec/c++/schema.hpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/codec/c++') 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 class remote_data { @@ -75,7 +75,7 @@ class remote_address { * Reference Backend structure */ template -class remote_api { +class remote { static_assert(always_false, "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 namespace saw { +template struct is_primitive { + constexpr static bool value = false; +}; + namespace schema { // NOLINTBEGIN template struct Member { @@ -262,10 +266,6 @@ template struct is_array> { constexpr static bool value = true; }; -template struct is_primitive { - constexpr static bool value = false; -}; - template struct is_primitive> { constexpr static bool value = true; }; -- cgit v1.2.3