coverage: add tests for memory, launcher, linker, program, and utils coverage gaps#2130
Open
rluo8 wants to merge 1 commit into
Open
coverage: add tests for memory, launcher, linker, program, and utils coverage gaps#2130rluo8 wants to merge 1 commit into
rluo8 wants to merge 1 commit into
Conversation
Contributor
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds focused unit tests that target previously-untested branches across
cuda_core.Here is the per-file coverage rate changes:
cuda/core/_memory/_legacy.py 64.52% -> 98.39% (+33.87%, -21 miss)
cuda/core/_launch_config.pyx 56.34% -> 77.46% (+21.13%, -15 miss)
cuda/core/_linker.pyx 64.64% -> 81.49% (+16.85%, -61 miss)
cuda/core/_memory/_peer_access_utils.pyx 22.02% -> 37.16% (+15.14%, -33 miss)
cuda/core/_memory/_device_memory_resource.pyx 68.06% -> 81.94% (+13.89%, -10 miss)
cuda/core/_memory/_graph_memory_resource.pyx 80.26% -> 88.16% (+7.89%, -6 miss)
cuda/core/_memoryview.pyx 62.99% -> 65.82% (+2.82%, -20 miss)
cuda/core/_memory/_virtual_memory_resource.py 89.58% -> 91.67% (+2.08%, -5 miss)
cuda/core/system/_device.pyx 76.47% -> 77.65% (+1.18%, -3 miss)
cuda/core/_program.pyx 86.06% -> 86.96% (+0.90%, -6 miss)
Total cuda/core/ 77.80% -> 79.53% (+1.73%, -180 miss)
The tests were run and could pass locally.