| 10 | namespace aarch64 { |
| 11 | |
| 12 | void WarpPerspectiveImpl::exec( |
| 13 | _megdnn_tensor_in src, _megdnn_tensor_in mat, _megdnn_tensor_in mat_idx, |
| 14 | _megdnn_tensor_in dst, _megdnn_workspace workspace) { |
| 15 | check_exec(src.layout, mat.layout, mat_idx.layout, dst.layout, workspace.size); |
| 16 | if (warp::is_cv_available( |
| 17 | src.layout, mat.layout, dst.layout, param().imode, param().format)) { |
| 18 | warp_perspective_cv_exec( |
| 19 | src, mat, mat_idx, dst, param().border_val, param().bmode, |
| 20 | param().imode, handle()); |
| 21 | } else { |
| 22 | //! Use arm_common implementation |
| 23 | arm_common::WarpPerspectiveImpl::exec(src, mat, mat_idx, dst, workspace); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | } // namespace aarch64 |
| 28 | } // namespace megdnn |
nothing calls this directly
no test coverage detected