summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/remote-sycl/tests/calculator.foo6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/remote-sycl/tests/calculator.foo b/modules/remote-sycl/tests/calculator.foo
index 745bd3d..7360283 100644
--- a/modules/remote-sycl/tests/calculator.foo
+++ b/modules/remote-sycl/tests/calculator.foo
@@ -20,8 +20,8 @@ SAW_TEST("SYCL Interface Calculator"){
cl::sycl::queue cmd_queue;
- interface<schema::Calculator, encode::Native<storage::Default>, cl::sycl::queue*> cl_iface {
-[](data<schema::Tuple<schema::Int64, schema::Int64>>& in, cl::sycl::queue* cmd) -> data<schema::Int64> {
+ interface<schema::Calculator, encode::Sycl<encode::Native>, cl::sycl::queue*> cl_iface {
+[](data<schema::Tuple<schema::Int64, schema::Int64>, encode::Sycl<encode::Native>>& in, cl::sycl::queue* cmd) -> data<schema::Int64> {
std::array<int64_t,2> h_xy{in.get<0>().get(), in.get<1>().get()};
int64_t res{};
cl::sycl::buffer<int64_t,1> d_xy { h_xy.data(), h_xy.size() };
@@ -37,7 +37,7 @@ SAW_TEST("SYCL Interface Calculator"){
cmd->wait();
return data<schema::Int64>{res};
},
- [](data<schema::Tuple<schema::Int64, schema::Int64>,encode::Native,rmt::Sycl>& in, cl::sycl::queue* cmd) -> data<schema::Int64> {
+ [](data<schema::Tuple<schema::Int64, schema::Int64>,encode::Sycl<encode::Native>>& in, cl::sycl::queue* cmd) -> data<schema::Int64> {
return data<schema::Int64>{in.get<0>().get() * in.get<1>().get()};
}
};