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/remote-opencl/c++/rpc.hpp | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 modules/remote-opencl/c++/rpc.hpp (limited to 'modules/remote-opencl/c++/rpc.hpp') diff --git a/modules/remote-opencl/c++/rpc.hpp b/modules/remote-opencl/c++/rpc.hpp new file mode 100644 index 0000000..bddb60d --- /dev/null +++ b/modules/remote-opencl/c++/rpc.hpp @@ -0,0 +1,44 @@ +#pragma once + +namespace saw { +namespace rmt { +struct DeviceKokkos {}; +} + +template<> +class remote { +private: +public: + template + error_or> connect(){ + return make_error(); + } +}; + +error_or> create_remote(){ + auto rc = hipInit(0); + + return make_error(); +} + +template +class rpc_client { +public: + template + struct request { + std::tuple...> ids; + + error_or>> wait(); + }; +}; + +template +class rpc_server { +private: + /** + * Needs a variant ptr of all possible return types + */ + struct data_storage { + }; +}; +} -- cgit v1.2.3