Add `cuda.core.utils.get_aligned_dtype`
Offen
@leofang arbeitet bereits daran.
Seit 27.6.2025.
cuda.core
feature
P1
- Vorherrschende Sprache
- Cython
- Sterne
- 3.4k
- Forks
- 329
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 116
Beschreibung
Many CUDA Python projects require the ability to declare a custom alignment for a give dtype. While NumPy builtin/structure dtypes work in most cases, this is one of the few issues that it cannot fulfill today. @seberg has figured out a prototype to address this issue (https://github.com/numpy/numpy/issues/28318#issuecomment-2678883667), and the plan is for cuda.core to provide this infrastructure, let other teams start using it, gather feedbacks, and eventually upstream this back to NumPy.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.