From 02e0554147004c6498d00cc88a1fa43e38e4ba3d Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Fri, 6 Sep 2024 19:42:05 +0200 Subject: wip --- modules/remote-hip/c++/transfer.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/remote-hip/c++') diff --git a/modules/remote-hip/c++/transfer.hpp b/modules/remote-hip/c++/transfer.hpp index 348d7fc..cdde8ba 100644 --- a/modules/remote-hip/c++/transfer.hpp +++ b/modules/remote-hip/c++/transfer.hpp @@ -29,11 +29,13 @@ public: {} error_or send(const data& dat, id store_id){ + auto ins = values_.emplace(std::make_pair(store_id.get_value(), data>{dat})); if(!ins.second){ return make_error(); } + return make_error("Allocate not implemented. Since we don't actually do any device copies."); return make_void(); } -- cgit v1.2.3