diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-09-06 19:42:05 +0200 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-09-06 19:42:05 +0200 |
commit | 02e0554147004c6498d00cc88a1fa43e38e4ba3d (patch) | |
tree | 3bec12696a766ecc15f996e908442108e0be46be /modules/remote-hip/c++/transfer.hpp | |
parent | 95778fe686ddd3e6e29915cb50e4b07876a39904 (diff) |
wip
Diffstat (limited to 'modules/remote-hip/c++/transfer.hpp')
-rw-r--r-- | modules/remote-hip/c++/transfer.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<void> send(const data<Schema,Encoding>& dat, id<Schema> store_id){ + auto ins = values_.emplace(std::make_pair(store_id.get_value(), data<Schema, encode::Hip<Encoding>>{dat})); if(!ins.second){ return make_error<err::already_exists>(); } + return make_error<err::not_implemented>("Allocate not implemented. Since we don't actually do any device copies."); return make_void(); } |