NVIDIA / NVIDIA/cccl

[FEA]: Non-owning view types with properties to ensure type safe access to allocated memory

Open
#2,132 0 comments 1 reaction 1 assignee Claimed by @miscco View on GitHub
cudax
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

Memory access in heterogeneous systems is notoriously difficult and error prone.

With the property design we can use the type system to safeguard memory accesses across memory systems.

Consequently we want to extent the memory system to features that access memory, including the standard view types `cuda::std::span` and `cuda::std::mdspan`.

While for `cuda::std::span` it seems rather straight forward, we might need to thing about accessors in the context of `cuda::std::mdspan`

### Non-owning types with properties to ensure type safe access to allocated memory
- [ ] https://github.com/NVIDIA/cccl/issues/2133
- [ ] https://github.com/NVIDIA/cccl/issues/2134

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.