summaryrefslogtreecommitdiff
path: root/modules/remote-sycl/examples/sycl_basic.hpp
blob: 0d4b5d2bd3110584eec1f75845ab604f20e49ae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "../c++/remote.hpp"

namespace schema {
using namespace saw::schema;

using BasicInterface = Interface<
	Member<Function<UInt64, UInt64>, "increment">
>;
}

saw::rpc_server<schema::BasicInterface, saw::encode::Native<saw::storage::Default>, saw::rmt::Sycl> listen_basic_sycl(saw::remote<saw::rmt::Sycl>& ctx, saw::remote_address<saw::rmt::Sycl>& addr);