Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow example tests to be run on subprocesses #197

Open
leofang opened this issue Oct 29, 2024 · 0 comments
Open

Allow example tests to be run on subprocesses #197

leofang opened this issue Oct 29, 2024 · 0 comments
Labels
cuda.core Everything related to the cuda.core module P2 Low priority - Nice to have test Addition or improved tests

Comments

@leofang
Copy link
Member

leofang commented Oct 29, 2024

Right now we just exec all tests in the main test process

exec(script, env if env else {})

which is fine if there is no subtle bugs in the examples. However, it is not the end user experience (ex: from user perspective CUDA contexts are implicitly created/tear down between each sample runs). We should allow configuring it in the future.

@leofang leofang added cuda.core Everything related to the cuda.core module P2 Low priority - Nice to have test Addition or improved tests labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda.core Everything related to the cuda.core module P2 Low priority - Nice to have test Addition or improved tests
Projects
None yet
Development

No branches or pull requests

1 participant