| 14 | namespace { |
| 15 | |
| 16 | void megdnn_memcpy_internal( |
| 17 | Handle* handle, void* dst, const void* src, size_t size_in_bytes, |
| 18 | megcoreMemcpyKind_t kind) { |
| 19 | auto comp_handle = handle->megcore_computing_handle(); |
| 20 | megcore_check(megcoreMemcpy(comp_handle, dst, src, size_in_bytes, kind)); |
| 21 | megcore_check(megcoreSynchronize(comp_handle)); |
| 22 | } |
| 23 | |
| 24 | class ErrorHandlerImpl final : public ErrorHandler { |
| 25 | static ErrorHandlerImpl inst; |
no test coverage detected