summaryrefslogtreecommitdiff
path: root/modules/remote-sycl/tests/remote.foo
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-01-19 16:23:49 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-01-19 16:23:49 +0100
commit2d9cd68ba5f79453487b0f6be4d984a0d556077a (patch)
treef699da7a36806e8aa899881e824af49dd106fd17 /modules/remote-sycl/tests/remote.foo
parent45104cfba44c9aead0b14ef831f3eef7893e1931 (diff)
downloadforstio-forstio-2d9cd68ba5f79453487b0f6be4d984a0d556077a.tar.gz
Sycl changes and CT multiply
Diffstat (limited to 'modules/remote-sycl/tests/remote.foo')
-rw-r--r--modules/remote-sycl/tests/remote.foo25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/remote-sycl/tests/remote.foo b/modules/remote-sycl/tests/remote.foo
new file mode 100644
index 0000000..698c333
--- /dev/null
+++ b/modules/remote-sycl/tests/remote.foo
@@ -0,0 +1,25 @@
+#include <forstio/test/suite.hpp>
+
+#include "../c++/remote.hpp"
+
+namespace {
+namespace sch {
+using namespace saw::schema;
+}
+
+SAW_TEST("Remote Basics"){
+ using namespace saw;
+
+ remote<rmt::Sycl> sycl_rmt;
+
+ auto eo_sycl_addr = sycl_rmt.parse_address();
+ SAW_EXPECT(eo_sycl_addr.is_value(),"Couldn't parse address");
+ auto& sycl_addr = eo_sycl_addr.get_value();
+
+
+ auto eo_dat_srv = sycl_rmt.data_listen<sch::Struct<>,saw::encode::Native>(*sycl_addr);
+ SAW_EOV_EXPECT(eo_dat_srv);
+
+ auto& dat_srv = eo_dat_srv.get_value();
+}
+}