Skip to content

Conversation

@testcupy
Copy link
Contributor

Description

This is to fix issue in #1170 .
The fix is in cuda_core/examples/thread_block_cluster.py to add a numpy version check. If numpy version is less than 2.2.5, the test will skip.
After the fix, the test could be skipped when numpy version is less than 2.2.5.

example_tests/test_basic_examples.py::TestExamples::test_example[C:\tmp\cuda-python\cuda_core\tests\example_tests\..\..\examples\thread_block_cluster.py] SKIPPED [100%]

@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Oct 22, 2025

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

greptile-apps[bot]

This comment was marked as off-topic.

@testcupy
Copy link
Contributor Author

@leofang @rparolin ,
Could you please help review it?
Thanks!

@leofang leofang linked an issue Oct 22, 2025 that may be closed by this pull request
@leofang leofang added this to the cuda.core beta 8 milestone Oct 22, 2025
@leofang leofang added bug Something isn't working P1 Medium priority - Should do cuda.core Everything related to the cuda.core module example Improvements or additions to code examples labels Oct 22, 2025
Copy link
Collaborator

@rparolin rparolin left a comment

Choose a reason for hiding this comment

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

lgtm, once Leo's suggested changes are merged.

@leofang
Copy link
Member

leofang commented Oct 23, 2025

/ok to test ea6be6e

@leofang
Copy link
Member

leofang commented Oct 23, 2025

/ok to test ac999ca

@leofang leofang enabled auto-merge (squash) October 23, 2025 01:16
@github-actions

This comment has been minimized.

@leofang leofang requested a review from rparolin October 23, 2025 01:52
@leofang leofang disabled auto-merge October 23, 2025 16:23
@leofang leofang merged commit c06a86c into NVIDIA:main Oct 23, 2025
64 checks passed
@github-actions
Copy link

Doc Preview CI
Preview removed because the pull request was closed or merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cuda.core Everything related to the cuda.core module example Improvements or additions to code examples P1 Medium priority - Should do

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a NumPy version check to examples/thread_block_cluster.py

4 participants