Skip to content

Add experimental ManagedArrayView#361

Merged
adayton1 merged 2 commits intodevelopfrom
expt/array_view
Apr 7, 2026
Merged

Add experimental ManagedArrayView#361
adayton1 merged 2 commits intodevelopfrom
expt/array_view

Conversation

@adayton1
Copy link
Copy Markdown
Member

@adayton1 adayton1 commented Apr 6, 2026

This class provides a uniform interface for viewing different types of memory
across multiple backends. It has shallow-copy semantics, which allows it to be
passed by value to a CUDA or HIP kernel. When copy constructed, it queries the
array manager to update the cached size and pointer from the array manager.
Unlike ManagedArrayPointer, this class is non-owning: it cannot allocate,
resize, or free the underlying data, and the referenced manager must outlive
the view.

@adayton1 adayton1 merged commit b1525d7 into develop Apr 7, 2026
9 checks passed
@adayton1 adayton1 deleted the expt/array_view branch April 7, 2026 15:56
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.

3 participants