blob: 3be3c795b9775302bacc41691903a6a9b5667790 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#pragma once
#include <forstio/io_codec/rpc.hpp>
namespace saw {
namespace rmt {
struct Sycl {};
}
template<>
class remote<rmt::Sycl> {
private:
SAW_FORBID_COPY(remote);
SAW_FORBID_MOVE(remote);
public:
remote(){}
/*
error_or<void> create_remote(){
return remote<rmt::Sycl>{*this};
}
*/
};
template<>
struct remote_address<rmt::Sycl> {
private:
remote<rmt::Sycl>* ctx_;
SAW_FORBID_COPY(remote_address);
SAW_FORBID_MOVE(remote_address);
public:
remote_address(remote<rmt::Sycl>& r_ctx):
ctx_{&r_ctx}
{}
/*
template<typename Iface>
error_or<void> foo();
*/
};
}
|