| 50 | |
| 51 | template <typename U, typename T> |
| 52 | inline void fill_tensor(U &&tensor, const std::vector<T> &v) |
| 53 | { |
| 54 | std::memcpy(tensor.data(), v.data(), sizeof(T) * v.size()); |
| 55 | } |
| 56 | |
| 57 | template <typename T> |
| 58 | inline void fill_tensor(CLAccessor &&tensor, const std::vector<T> &v) |
no test coverage detected