summaryrefslogtreecommitdiff
path: root/modules/remote-sycl/tests/data.cpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2024-06-29 07:41:15 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2024-06-29 07:41:15 +0200
commit47b00020a237d22b6081a6f7f57bd387ae42b568 (patch)
tree5057c4cd526024d3687d152812717912f31872cb /modules/remote-sycl/tests/data.cpp
parent64c26487299e22a0d563fa2b9ea12aecd73ff6e4 (diff)
Moved device to a internal class which will be supposed to be discoverable
Diffstat (limited to 'modules/remote-sycl/tests/data.cpp')
-rw-r--r--modules/remote-sycl/tests/data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/remote-sycl/tests/data.cpp b/modules/remote-sycl/tests/data.cpp
index dff19fb..de09c92 100644
--- a/modules/remote-sycl/tests/data.cpp
+++ b/modules/remote-sycl/tests/data.cpp
@@ -41,7 +41,7 @@ SAW_TEST("SYCL Data Management"){
wait.poll();
SAW_EXPECT(rmt_addr, "Remote address hasn't been filled");
- auto device = rmt.connect_device(*rmt_addr);
+ auto device = rmt_addr->copy_device_reference();
auto data_srv = data_server<tmpl_group<schema::TestStruct>, encode::Native, rmt::Sycl>{device};