Skip to content

Conversation

@mag1c-h
Copy link
Contributor

@mag1c-h mag1c-h commented Nov 20, 2025

Purpose

This PR adds support for transferring data between device and host memory using Ascend native APIs. Currently, only Ascend-specific native APIs have been integrated, with core computing kernels to be added soon.

  • ascend_stream.cc: Provides wrappers for ACLRT copy operations, including synchronous, asynchronous, and batched operations.
  • ascend_buffer.cc: Offers wrappers for ACLRT memory management APIs, including device memory allocation/deallocation, host memory allocation/deallocation, and host memory mapping/unmapping.

Modifications

No user-facing change.

Test

CI passed with new added/existing test.

@mag1c-h mag1c-h merged commit 5c66fc8 into ModelEngine-Group:develop Nov 20, 2025
3 checks passed
@mag1c-h mag1c-h deleted the dev-ucmtrans-on-ascend branch November 20, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants