You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Examples: Turn cuda_bindings examples into proper examples #1838
Is your feature request related to a problem? Please describe.
Many of the cuda-bindings examples are not proper examples, they are unit tests of unusual construction.
A good example should be able to be downloaded, and having installed all dependencies should run and do something interesting. Many of the cuda-bindings examples don't do that.
They depend on pytest and do things like pytest.skip.
They depend on a locally-installed helper library (common). Ideally, these would be added to cuda-bindings and installed as a submodule. Even barring that, at minimum, the examples should update their import path so these helpers are importable. As it stands now, the examples are dependent on the cwd when it is run.
Describe the solution you'd like
Examples shouldn't have any dependencies that aren't necessary to demonstrate their purpose (e.g. pytest).
Examples shouldn't require the cwd to be something specific.
The common library should either be moved to a submodule of cuda-bindings or the examples should add a relative path to sys.path so it is always importable.
changed the title [-][FEA]: Turn cuda_bindings examples into proper examples[/-][+]Examples: Turn cuda_bindings examples into proper examples[/+]on Mar 31, 2026
Activity
[-][FEA]: Turn cuda_bindings examples into proper examples[/-][+]Examples: Turn cuda_bindings examples into proper examples[/+]