NVIDIA / NVIDIA/cccl

Clarify alignment requirements

Open
#910 0 comments 0 reactions 0 assignees View on GitHub
cub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

Currently, we rely on `AliasTemporaries` to adjust alignment for allocations in temporary storage, so that proper temporary storage alignment should not be ensured on the user side. This is not documented nor tested, so it's easy to break or introduce new functionality without these guarantees.

We should add tests and document alignment policy for temporary storage.

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.