From eda37df9c399b23dc5bdb668730101a87f4770ce Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 26 Jun 2024 12:30:30 +0200 Subject: Attempting to fix async errors --- modules/remote-sycl/c++/device.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/remote-sycl/c++/device.hpp') diff --git a/modules/remote-sycl/c++/device.hpp b/modules/remote-sycl/c++/device.hpp index 6d133ae..46644b4 100644 --- a/modules/remote-sycl/c++/device.hpp +++ b/modules/remote-sycl/c++/device.hpp @@ -21,7 +21,7 @@ public: */ template error_or> copy_to_device(const data& host_data){ - return data::copy_to_device(host_data, *this); + return data{host_data}; } /** @@ -29,7 +29,7 @@ public: */ template error_or> copy_to_host(const data& dev_data){ - return dev_data.copy_to_host(); + return {}; } /** -- cgit v1.2.3