| 411 | } |
| 412 | |
| 413 | void CheckerHelper::copy_tensors_to_device( |
| 414 | const TensorValueArray& dest, const TensorValueArray& src) { |
| 415 | auto impl_h2d = [this](void* dst, const void* src, size_t sz) { |
| 416 | megdnn_memcpy_H2D(m_handle_cur, dst, src, sz); |
| 417 | }; |
| 418 | copy_tensors(dest, src, impl_h2d); |
| 419 | } |
| 420 | |
| 421 | // vim: syntax=cpp.doxygen |
nothing calls this directly
no test coverage detected