From 60686e33f312093720f2551360bd0431e306ebc8 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Tue, 17 Sep 2024 14:08:06 +0200 Subject: wip --- modules/remote-hip/c++/device.tmpl.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/remote-hip/c++/device.tmpl.hpp b/modules/remote-hip/c++/device.tmpl.hpp index 2ee991d..dd4aee7 100644 --- a/modules/remote-hip/c++/device.tmpl.hpp +++ b/modules/remote-hip/c++/device.tmpl.hpp @@ -1,3 +1,5 @@ +#include + namespace saw { namespace impl { template @@ -37,6 +39,10 @@ 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