Skip to content

Improve host/device mdspan documentation#4220

Merged
fbusato merged 1 commit intoNVIDIA:mainfrom
fbusato:improve-cuda-mdspan-documentation
Mar 21, 2025
Merged

Improve host/device mdspan documentation#4220
fbusato merged 1 commit intoNVIDIA:mainfrom
fbusato:improve-cuda-mdspan-documentation

Conversation

@fbusato
Copy link
Contributor

@fbusato fbusato commented Mar 20, 2025

Description

  • Better description of host/device/managed features
  • Clarify explicit constructors
  • Improve examples with CTAD

@fbusato fbusato added the 3.0 label Mar 20, 2025
@fbusato fbusato self-assigned this Mar 20, 2025
@fbusato fbusato requested a review from a team as a code owner March 20, 2025 17:43
@fbusato fbusato added this to CCCL Mar 20, 2025
@fbusato fbusato requested a review from gonidelis March 20, 2025 17:43
@github-project-automation github-project-automation bot moved this to Todo in CCCL Mar 20, 2025
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Mar 20, 2025
@fbusato fbusato requested a review from a team March 20, 2025 22:03
@fbusato fbusato enabled auto-merge (squash) March 20, 2025 22:04
+--------------------+------------------+-------------------+

***** the validity of the *managed* memory space is checked at run-time in debug mode.
*Host*, *device*, and *managed* ``mdspan`` can be created and "sliced" (``cuda::std::submdspan``) on any memory spaces. However, accessing to a specific memory space is restricted to the respective *accessor* type.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
*Host*, *device*, and *managed* ``mdspan`` can be created and "sliced" (``cuda::std::submdspan``) on any memory spaces. However, accessing to a specific memory space is restricted to the respective *accessor* type.
*Host*, *device*, and *managed* ``mdspan`` can be created and "sliced" (``cuda::std::submdspan``) on any memory space. However, access to a specific memory space is restricted to the respective *accessor* type.

@fbusato fbusato merged commit d6d79d1 into NVIDIA:main Mar 21, 2025
18 of 19 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Mar 21, 2025
davebayer pushed a commit to davebayer/cccl that referenced this pull request Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants