summaryrefslogtreecommitdiff
path: root/modules/remote-kokkos/c++/rpc.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2024-04-11 18:23:43 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2024-04-11 18:23:43 +0200
commit5969e94c88f7db8cfe017190a27faf86b42b1a5f (patch)
treeeb1f4f1ead45980c6fd7e5adbe800cc48755993e /modules/remote-kokkos/c++/rpc.hpp
parent188692a048b28361f91150b2e93804dfb944bf9c (diff)
remote-kokkos: Remove kokkos for now
Diffstat (limited to 'modules/remote-kokkos/c++/rpc.hpp')
-rw-r--r--modules/remote-kokkos/c++/rpc.hpp44
1 files changed, 0 insertions, 44 deletions
diff --git a/modules/remote-kokkos/c++/rpc.hpp b/modules/remote-kokkos/c++/rpc.hpp
deleted file mode 100644
index bddb60d..0000000
--- a/modules/remote-kokkos/c++/rpc.hpp
+++ /dev/null
@@ -1,44 +0,0 @@
-#pragma once
-
-namespace saw {
-namespace rmt {
-struct DeviceKokkos {};
-}
-
-template<>
-class remote<rmt::DeviceKokkos> {
-private:
-public:
- template<typename Iface>
- error_or<rpc_client<rmt::DeviceKokkos, Iface>> connect(){
- return make_error<err::not_implemented>();
- }
-};
-
-error_or<remote<rmt::DeviceKokkos>> create_remote(){
- auto rc = hipInit(0);
-
- return make_error<err::not_implemented>();
-}
-
-template<typename Iface>
-class rpc_client<rmt::DeviceKokkos, 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::DeviceKokkos, Iface> {
-private:
- /**
- * Needs a variant ptr of all possible return types
- */
- struct data_storage {
- };
-};
-}