cuda-python icon indicating copy to clipboard operation
cuda-python copied to clipboard

Allow example tests to be run on subprocesses

Open leofang opened this issue 1 year ago • 0 comments

Right now we just exec all tests in the main test process https://github.com/NVIDIA/cuda-python/blob/213baf40966d8c449c62cce2c55e945a99c452b1/cuda_core/tests/example_tests/utils.py#L35 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 avatar Oct 29 '24 02:10 leofang