summaryrefslogtreecommitdiff
path: root/modules/remote-sycl/tests/data.cpp
diff options
context:
space:
mode:
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};