summaryrefslogtreecommitdiff
path: root/modules/device-hip/c++/rpc.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/device-hip/c++/rpc.hpp')
-rw-r--r--modules/device-hip/c++/rpc.hpp47
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 {
- };
-
-};
-}