cccl icon indicating copy to clipboard operation
cccl copied to clipboard

`mdspan` cache policy accessors

Open fbusato opened this issue 4 months ago • 1 comments

Address https://github.com/NVIDIA/cccl/issues/2472

Add custom CUDA mdspan accessors to enable cache operators. The PR covers the following features:

  • A cache_policy_accessor for load and store operation
  • A cache_policy_accessor for load-only operation
  • A accessor_reference for dispatching load and store operation in different ways
  • Low-level memory accesses rely on cub::ThreadLoad and cub::ThreadStore (related issue https://github.com/NVIDIA/cccl/issues/2486 for improving the two methods)

(names to finalize later)

fbusato avatar Sep 30 '24 23:09 fbusato