summaryrefslogtreecommitdiff
path: root/modules/remote-sycl/tests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/remote-sycl/tests')
-rw-r--r--modules/remote-sycl/tests/calculator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/remote-sycl/tests/calculator.cpp b/modules/remote-sycl/tests/calculator.cpp
index 730838d..6d061ad 100644
--- a/modules/remote-sycl/tests/calculator.cpp
+++ b/modules/remote-sycl/tests/calculator.cpp
@@ -21,7 +21,7 @@ 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> {
+[](data<schema::Tuple<schema::Int64, schema::Int64>>& 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>> in, cl::sycl::queue* cmd) -> data<schema::Int64> {
+ [](data<schema::Tuple<schema::Int64, schema::Int64>,encode::Native,rmt::Sycl>& in, cl::sycl::queue* cmd) -> data<schema::Int64> {
return data<schema::Int64>{in.get<0>().get() * in.get<1>().get()};
}
};