-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hexagon] Generalized HexagonBuffer::CopyTo/CopyFrom (#10878)
* [Hexagon] Generalized HexagonBuffer::CopyTo/CopyFrom This change operates on the allocation regions in a `HexagonBuffer`, rather than referencing the managed allocation owned by a buffer, handling copies between two sets of possibly discontiguous regions. This will be necessary to handle discontiguous buffers that cannot be statically planned at compile-time, such as user-initiated allocations, within a shared memory pool. Contiguous regions of memory are recognized and result in a single DMA call.
- Loading branch information
1 parent
05caa7a
commit 6dada80
Showing
3 changed files
with
344 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.