summaryrefslogtreecommitdiff
path: root/modules/remote-kokkos/c++/rpc.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/remote-kokkos/c++/rpc.hpp')
-rw-r--r--modules/remote-kokkos/c++/rpc.hpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/modules/remote-kokkos/c++/rpc.hpp b/modules/remote-kokkos/c++/rpc.hpp
index 9137da0..bddb60d 100644
--- a/modules/remote-kokkos/c++/rpc.hpp
+++ b/modules/remote-kokkos/c++/rpc.hpp
@@ -1,30 +1,28 @@
#pragma once
-#include <hip.hpp>
-
namespace saw {
namespace rmt {
-struct DeviceHip {};
+struct DeviceKokkos {};
}
template<>
-class remote<rmt::DeviceHip> {
+class remote<rmt::DeviceKokkos> {
private:
public:
template<typename Iface>
- error_or<rpc_client<rmt::DeviceHip, Iface>> connect(){
+ error_or<rpc_client<rmt::DeviceKokkos, Iface>> connect(){
return make_error<err::not_implemented>();
}
};
-error_or<remote<rmt::DeviceHip>> create_remote(){
+error_or<remote<rmt::DeviceKokkos>> create_remote(){
auto rc = hipInit(0);
return make_error<err::not_implemented>();
}
template<typename Iface>
-class rpc_client<rmt::DeviceHip, Iface> {
+class rpc_client<rmt::DeviceKokkos, Iface> {
public:
template<typename... T>
struct request {
@@ -35,7 +33,7 @@ public:
};
template<typename Iface>
-class rpc_server<rmt::DeviceHip, Iface> {
+class rpc_server<rmt::DeviceKokkos, Iface> {
private:
/**
* Needs a variant ptr of all possible return types