diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-01-28 16:03:29 +0100 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-01-28 16:03:29 +0100 |
commit | 6f2cabfa4311eb71d70ec03a0a46b9ab55fd0820 (patch) | |
tree | 39401fc71ad2d804f10cf1c7296acb35e75dde59 /modules/device-hip/c++/rpc.hpp | |
parent | ae75e63bfaf927e10e9f2642b3a1a9dae04b7dbc (diff) |
device-hip, remote-kokkos: Moving to kokkos. Easier to manage
Diffstat (limited to 'modules/device-hip/c++/rpc.hpp')
-rw-r--r-- | modules/device-hip/c++/rpc.hpp | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/modules/device-hip/c++/rpc.hpp b/modules/device-hip/c++/rpc.hpp deleted file mode 100644 index 5bce553..0000000 --- a/modules/device-hip/c++/rpc.hpp +++ /dev/null @@ -1,47 +0,0 @@ -#pragma once - -#include <hip.hpp> - -namespace saw { -namespace rmt { -struct DeviceHip {}; -} - -template<> -class remote<rmt::DeviceHip> { -private: -public: - template<typename Iface> - error_or<rpc_client<rmt::DeviceHip, Iface>> connect(){ - return make_error<err::not_implemented>(); - } -}; - -error_or<remote<rmt::DeviceHip>> create_remote(){ - auto rc = hipInit(0); - - return make_error<err::not_implemented>(); -} - -template<typename Iface> -class rpc_client<rmt::DeviceHip, Iface> { -public: - template<typename... T> - struct request { - std::tuple<id<T>...> ids; - - error_or<data<schema::Tuple<T...>>> wait(); - }; -}; - -template<typename Iface> -class rpc_server<rmt::DeviceHip, Iface> { -private: - /** - * Needs a variant ptr of all possible return types - */ - struct data_storage { - }; - -}; -} |