[FEA]: `cuda-core-example hello_world` (or similar)
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Cython
- Sterne
- 3.4k
- Forks
- 329
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 116
Beschreibung
Area
cuda.core
Is your feature request related to a problem? Please describe.
Include (some) examples in the released cuda-core wheels and make them easily runnable.
Useful also for quick smoke checks after making new releases.
Describe the solution you'd like
There are two very common, low-friction patterns for shipping runnable examples in wheels:
-
a tiny "runner" module so users can do
python -m cuda.core.run_example hello_world, and -
a console_scripts entry point so they can also do
cuda-core-example hello_world.
It seems easy to support both. Here are concrete suggestions that may be useful as a starting point:
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.
Rechercherichtung
Beginne damit, das cuda.core-Beispielpaket sowie die Konfiguration für Wheel und Console-Entry-Point zu finden. Prüfe, wie ein veröffentlichtes Wheel Beispiele sowohl über python -m cuda.core.run_example hello_world als auch über cuda-core-example hello_world bereitstellen könnte; abgeschlossen ist die Aufgabe, wenn beide Befehle nach der Installation das ausgewählte Beispiel ausführen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- cli, release
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100