Commit f32d8e28 authored by Dominik Charousset's avatar Dominik Charousset

fixed opencl unit test

parent 27f9b838
...@@ -143,9 +143,9 @@ int main() { ...@@ -143,9 +143,9 @@ int main() {
auto map_args = [] (any_tuple msg) -> optional<cow_tuple<ivec>> { auto map_args = [] (any_tuple msg) -> optional<cow_tuple<ivec>> {
auto opt = tuple_cast<matrix_type>(msg); auto opt = tuple_cast<matrix_type>(msg);
if (opt) { if (opt) {
return {make_cow_tuple(move(get_ref<0>(*opt).data()))}; return make_cow_tuple(move(get_ref<0>(*opt).data()));
} }
return {}; return none;
}; };
auto map_results = [] (ivec& result) -> any_tuple { auto map_results = [] (ivec& result) -> any_tuple {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment