Uh oh!
There was an error while loading. Please reload this page.
Refactor mdspancuda::std::__detectably_invalid - #6733
Conversation
is_pointer_accessible to mdspanis_pointer_accessible to mdspan
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: David Bayer <48736217+davebayer@users.noreply.github.com>
Co-authored-by: David Bayer <48736217+davebayer@users.noreply.github.com>
Co-authored-by: David Bayer <48736217+davebayer@users.noreply.github.com>
fbusato
commented
Nov 24, 2025
@davebayer@miscco I'm starting thinking that we are doing the wrong thing for host/device/managed.
Ideally,
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: David Bayer <48736217+davebayer@users.noreply.github.com>
Co-authored-by: David Bayer <48736217+davebayer@users.noreply.github.com>
is_pointer_accessible to mdspancuda::std::__detectably_invalidcuda::std::__detectably_invalidmdspancuda::std::__detectably_invalid
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
| // - Direct-non-list-initializes ptr_ with cuda::std::move(p), | ||
| // - direct-non-list-initializes map_ with ext, and | ||
| // - value-initializes acc_. | ||
| #define _CCCL_DISABLE_MDSPAN_ACCESSOR_DETECT_INVALIDITY |
There was a problem hiding this comment.
it is very hard to reimplement all tests to work with the right accessor respect to the memory space.
I added this macro to disable the checks
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
🥳 CI Workflow Results🟩 Finished in 2h 10m: Pass: 100%/84 | Total: 1d 12h | Max: 1h 48m | Hits: 86%/197813See results here. |
Uh oh!
There was an error while loading. Please reload this page.
Description
Replace old code in host/device/managed mdspan with https://nvidia.github.io/cccl/libcudacxx/extended_api/memory/is_pointer_accessible.html