From c64b9df7aceb41f5c61f46f8205a3c50ef3aef4c Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Tue, 17 Sep 2024 14:10:12 +0200 Subject: wip --- modules/remote-hip/c++/device.tmpl.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/remote-hip/c++/device.tmpl.hpp b/modules/remote-hip/c++/device.tmpl.hpp index dd4aee7..ca9006d 100644 --- a/modules/remote-hip/c++/device.tmpl.hpp +++ b/modules/remote-hip/c++/device.tmpl.hpp @@ -39,10 +39,17 @@ struct hip_copy_to_device, Encoding> { hipError_t data_copy_err = hipMemcpy(dat, (from.get_raw_data()),sizeof(typename native_data_type::type) * from.size(), hipMemcpyHostToDevice); } + for(uint64_t i = 0; i < from.size(); ++i){ std::cout< tmp_fake_dat; { -- cgit v1.2.3