summaryrefslogtreecommitdiff
path: root/modules/remote-hip/c++/rpc.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/remote-hip/c++/rpc.hpp')
-rw-r--r--modules/remote-hip/c++/rpc.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/remote-hip/c++/rpc.hpp b/modules/remote-hip/c++/rpc.hpp
index f6b519b..905750f 100644
--- a/modules/remote-hip/c++/rpc.hpp
+++ b/modules/remote-hip/c++/rpc.hpp
@@ -163,7 +163,7 @@ template<typename Iface, typename Encoding>
class rpc_server<Iface, Encoding, rmt::Hip> {
public:
using InterfaceCtxT = cl::sycl::queue*;
- using InterfaceT = interface<Iface, encode::Sycl<Encoding>, InterfaceCtxT>;
+ using InterfaceT = interface<Iface, encode::Hip<Encoding>, InterfaceCtxT>;
private:
/**
@@ -224,12 +224,12 @@ public:
/**
* Object needed if and only if the provided data type is not an id
*/
- own<data<typename FuncT::RequestT, encode::Sycl<Encoding>>> dev_tmp_inp = nullptr;
+ own<data<typename FuncT::RequestT, encode::Hip<Encoding>>> dev_tmp_inp = nullptr;
/**
* First check if it's data or an id.
* If it's an id, check if it's registered within the storage and retrieve it.
*/
- auto eoinp = [&,this]() -> error_or<data<typename FuncT::RequestT, encode::Sycl<Encoding>>* > {
+ auto eoinp = [&,this]() -> error_or<data<typename FuncT::RequestT, encode::Hip<Encoding>>* > {
if(input.is_id()){
// storage_.maps
auto eov = data_server_->template find<typename FuncT::RequestT>(input.get_id());
@@ -246,7 +246,7 @@ public:
}
auto& val = eov.get_value();
- dev_tmp_inp = heap<data<typename FuncT::RequestT, encode::Sycl<Encoding>>>(std::move(val));
+ dev_tmp_inp = heap<data<typename FuncT::RequestT, encode::Hip<Encoding>>>(std::move(val));
device_->get_handle().wait();
return dev_tmp_inp.get();
}