Is this a duplicate?
Area
cuda.bindings
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.
Describe alternatives you've considered
No response
Additional context
No response
Is this a duplicate?
Area
cuda.bindings
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-bindingsexamples don't do that.pytest.skip.common). Ideally, these would be added tocuda-bindingsand 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 thecwdwhen 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
cwdto be something specific.The
commonlibrary should either be moved to a submodule ofcuda-bindingsor the examples should add a relative path tosys.pathso it is always importable.Describe alternatives you've considered
No response
Additional context
No response