diff options
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(); } |