numba-dpex
numba-dpex copied to clipboard
Move examples outside of numba_dpex to root folder
I am not sure that examples should be a part of the package. We could install if but it is mostly for developers (not users) and easiest way to work with examples is by cloning sources.
/CC @diptorupd @reazulhoque
@mingjie-intel @oleksandr-pavlyk @chudur-budur What do you think of the proposal?
@mingjie-intel @oleksandr-pavlyk @chudur-budur What do you think of the proposal?
I agree with moving out the examples from the numba_dpex folder.
Usually projects move examples into a separate repo (easier to clone), e.g.
- https://github.com/numba/numba-examples
- https://github.com/pybind/python_example
- https://github.com/scikit-build/scikit-build-sample-projects
Scikit-Learn stores examples in the repo, like suggested in this issue, see scikit-learn/scikit-learn/examples.
@ZzEeKkAa can take a look. Moving the examples out of the package is straightforward. However, there are some test cases in numba_dpex/tests/debugging that depend on some of the examples. It was an unfortunate design decision and any files needed by a test case should be inside the tests directory.