Skip to content

Fix CUDA print tests on Windows - #8123

Merged
sklam merged 3 commits into
numba:mainfrom
gmarkall:issue-8005
Jun 9, 2022
Merged

sklam merged 3 commits into
numba:mainfrom
gmarkall:issue-8005

Conversation

@gmarkall

@gmarkall gmarkall commented Jun 1, 2022 •

Copy link
Copy Markdown
Member

This PR fixes the CUDA print tests on Windows (and should make them more generally robust) by running the test code in a subprocess and capturing its output, instead of trying to run in the current process with captured output.

Fixes #8005.

gmarkall added 2 commits June 1, 2022 16:51
This fix uses a subprocess to run the tests in rather than trying to be
clever and capture the low-level streams of the current process.
It is no longer needed.
@gmarkall

gmarkall commented Jun 1, 2022

Copy link
Copy Markdown
Member Author

gpuci run tests

@gmarkall

gmarkall commented Jun 1, 2022

Copy link
Copy Markdown
Member Author

gpuci run tests

@gmarkall
gmarkall marked this pull request as ready for review June 1, 2022 20:10
@gmarkall gmarkall added 3 - Ready for Review CUDA CUDA related issue/PR labels Jun 1, 2022
@gmarkall gmarkall added this to the Numba 0.56 RC milestone Jun 1, 2022
@stuartarchibald stuartarchibald self-assigned this Jun 2, 2022

@stuartarchibald stuartarchibald left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch, looks good on inspection.

@stuartarchibald stuartarchibald added 4 - Waiting on CI Review etc done, waiting for CI to finish Pending BuildFarm For PRs that have been reviewed but pending a push through our buildfarm and removed 3 - Ready for Review labels Jun 2, 2022
@gmarkall

gmarkall commented Jun 7, 2022

Copy link
Copy Markdown
Member Author

@esc / @stuartarchibald Could this have a CUDA smoketest please?

@esc

esc commented Jun 8, 2022

Copy link
Copy Markdown
Member

@esc / @stuartarchibald Could this have a CUDA smoketest please?

Build numba_smoketest_cuda_yaml_132 has started

@stuartarchibald

Copy link
Copy Markdown
Contributor

@esc / @stuartarchibald Could this have a CUDA smoketest please?

Build numba_smoketest_cuda_yaml_132 has started

Thanks @esc, this passed.

@stuartarchibald stuartarchibald added BuildFarm Passed For PRs that have been through the buildfarm and passed 5 - Ready to merge Review and testing done, is ready to merge and removed Pending BuildFarm For PRs that have been reviewed but pending a push through our buildfarm 4 - Waiting on CI Review etc done, waiting for CI to finish labels Jun 8, 2022
@sklam
sklam merged commit 19117b3 into numba:main Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5 - Ready to merge Review and testing done, is ready to merge BuildFarm Passed For PRs that have been through the buildfarm and passed CUDA CUDA related issue/PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CUDA print tests do not work on Windows with recent drivers

4 participants