summaryrefslogtreecommitdiff
path: root/modules/remote-sycl/tests/remote.cpp
blob: e580f179eac6a9af6e143fc88a8bd2c2ee65fc01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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(sycl_addr);
	SAW_EOV_EXPECT(eo_dat_srv);

	auto& dat_srv = eo_dat_srv.get_value();
}
}