René's URL Explorer Experiment


Title: Reorganize graph tests and add device-side launch support by Andy-Jost · Pull Request #1512 · NVIDIA/cuda-python · GitHub

Open Graph Title: Reorganize graph tests and add device-side launch support by Andy-Jost · Pull Request #1512 · NVIDIA/cuda-python

X Title: Reorganize graph tests and add device-side launch support by Andy-Jost · Pull Request #1512 · NVIDIA/cuda-python

Description: Summary This PR reorganizes the graph tests into a new tests/graph/ subdirectory, adds a public Graph.handle property, and introduces tests for device-side graph launch. Closes #1331 Changes Test Reorganization Create new tests/graph/ subdirectory following the pattern of tests/memory_ipc/ Break apart test_graph.py into logical groupings: test_basic.py: basic graph construction and topology tests test_conditional.py: conditional node tests (if, if-else, switch, while) test_advanced.py: child graphs, update, stream lifetime test_options.py: debug print, complete options, build mode Incorporate test_graph_mem.py (renamed to test_capture_alloc.py) Add shared kernel compilation helpers in tests/helpers/graph_kernels.py API Addition Add Graph.handle property to expose the underlying CUgraphExec handle Follows the existing pattern of Stream.handle and Event.handle Forward-compatible with future RAII handle refactoring Device-Side Graph Launch Tests Add test_device_launch.py with tests for device-side graph launch Uses cudaGraphLaunch() from device code via cudaStreamGraphTailLaunch Requires Hopper (sm_90+) architecture Uses cuda.pathfinder.find_nvidia_header_directory() to locate libcudadevrt.a Test Coverage 58 tests total in tests/graph/ All tests pass on Hopper (H200) Device launch tests skip on pre-Hopper architectures

Open Graph Description: Summary This PR reorganizes the graph tests into a new tests/graph/ subdirectory, adds a public Graph.handle property, and introduces tests for device-side graph launch. Closes #1331 Changes Test R...

X Description: Summary This PR reorganizes the graph tests into a new tests/graph/ subdirectory, adds a public Graph.handle property, and introduces tests for device-side graph launch. Closes #1331 Changes Test R...

Opengraph URL: https://github.com/NVIDIA/cuda-python/pull/1512

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d18b697e-573a-d7b3-122c-03ee72425c26
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD61C:EDB3D:35FFBF:4B0F60:6AF83A63
html-safe-noncebe95af1ebb6c0468432acd1d7879e29b012bc89d1910db85673ae3d113fdb80e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjFDOkVEQjNEOjM1RkZCRjo0QjBGNjA6NkFGODNBNjMiLCJ2aXNpdG9yX2lkIjoiMTQ4ODE5MjAwMDc2MTU0MzI2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2911a200437f0cbb2a4f4bc3b2d769bb62afb74f4de1edb8e3d6fe949db7f677
hovercard-subject-tagpull_request:3182838846
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NVIDIA/cuda-python/pull/1512/files
twitter:imagehttps://avatars.githubusercontent.com/u/225973198?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/225973198?s=400&v=4
og:image:altSummary This PR reorganizes the graph tests into a new tests/graph/ subdirectory, adds a public Graph.handle property, and introduces tests for device-side graph launch. Closes #1331 Changes Test R...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5713ecd83001b2f55c3509fb7a292bf7d66d0f167c7ae87a9f7eaec5a52bf8db
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NVIDIA/cuda-python git https://github.com/NVIDIA/cuda-python.git
octolytics-dimension-user_id1728152
octolytics-dimension-user_loginNVIDIA
octolytics-dimension-repository_id381173759
octolytics-dimension-repository_nwoNVIDIA/cuda-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id381173759
octolytics-dimension-repository_network_root_nwoNVIDIA/cuda-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release653be32ff5c755082a4db662491bfbbcfc9112c1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NVIDIA/cuda-python/pull/1512/changes#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F1512%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F1512%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NVIDIA%2Fcuda-python
Reloadhttps://github.com/NVIDIA/cuda-python/pull/1512/changes
Reloadhttps://github.com/NVIDIA/cuda-python/pull/1512/changes
Reloadhttps://github.com/NVIDIA/cuda-python/pull/1512/changes
NVIDIAhttps://github.com/NVIDIA
cuda-pythonhttps://github.com/NVIDIA/cuda-python
Codehttps://github.com/NVIDIA/cuda-python
Issues219 (219)https://github.com/NVIDIA/cuda-python/issues
Pull requests92 (92)https://github.com/NVIDIA/cuda-python/pulls
Discussionshttps://github.com/NVIDIA/cuda-python/discussions
Actionshttps://github.com/NVIDIA/cuda-python/actions
Projectshttps://github.com/NVIDIA/cuda-python/projects
Wikihttps://github.com/NVIDIA/cuda-python/wiki
Security and qualityhttps://github.com/NVIDIA/cuda-python/security
Insightshttps://github.com/NVIDIA/cuda-python/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FNVIDIA%2Fcuda-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FNVIDIA%2Fcuda-python%2Fissues%2Fnew%2Fchoose
Andy-Josthttps://github.com/Andy-Jost
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
Andy-Jost:graph-tests-reorghttps://github.com/Andy-Jost/cuda-python/tree/graph-tests-reorg
Conversation 27 https://github.com/NVIDIA/cuda-python/pull/1512
Commits 3 https://github.com/NVIDIA/cuda-python/pull/1512/commits
Checks 87 https://github.com/NVIDIA/cuda-python/pull/1512/checks
Files changed https://github.com/NVIDIA/cuda-python/pull/1512/files
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
Reorganize graph tests and add device-side launch support https://github.com/NVIDIA/cuda-python/pull/1512/changes#top
Show all changes 3 commits https://github.com/NVIDIA/cuda-python/pull/1512/files
5711044 Reorganize graph tests and add device-side launch support Andy-Jost Jan 16, 2026 https://github.com/NVIDIA/cuda-python/pull/1512/commits/5711044498da128582c7e8fc1794d59a93320069
acb0c97 Merge origin/main into graph-tests-reorg Andy-Jost Jan 22, 2026 https://github.com/NVIDIA/cuda-python/pull/1512/commits/acb0c979e54e75c0ab5c32d36e8d3c187dc3e21b
b3ce986 Merge remote-tracking branch 'origin/main' into graph-tests-reorg Andy-Jost Feb 18, 2026 https://github.com/NVIDIA/cuda-python/pull/1512/commits/b3ce986fb4c91750d0ba51e8a3d378775ac3cad0
Clear filters https://github.com/NVIDIA/cuda-python/pull/1512/files
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
_graph.py https://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-d94b32bb45e3765ffbb08cac58a306d1eb1b5dcb6f8534870720d3e445fa528b
test_advanced.py https://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-669b657b306225ed279e0c765823de775d0702469df9a8091020ebb72f7ab2df
test_basic.py https://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-dbb7e24afdf48753c96241e315c6faf96dd9b176ba3f2738635f4dbbd0f12dc2
test_capture_alloc.py https://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-a8c9c45d577db23ea9096c55f0fa6b3d3c94316c2e5257124b71913f214016ec
test_conditional.py https://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-3b79ccf65c8cd47f4de65e4383f16a5d86a544c92d1d760d5f5563a54e670e4b
test_device_launch.py https://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-b2e6ca69060979ab07addd8f345c35a0bf8afff563d4e90ee811af6df4da5593
test_options.py https://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-7bd4566418faf379314be093fc329dc422c8355e2848758a7d3176358a24f2af
graph_kernels.py https://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-a7aa2f750ad556ba5e09dd56ee7c4f1d3221549bf5c38e736c9c37f12897bd79
test_graph.py https://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-f13f1852d20f78096a2af242a7681395e69c6c73b6998c339b5d4d2a6daf4fbb
cuda_core/cuda/core/_graph.pyhttps://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-d94b32bb45e3765ffbb08cac58a306d1eb1b5dcb6f8534870720d3e445fa528b
View file https://github.com/Andy-Jost/cuda-python/blob/b3ce986fb4c91750d0ba51e8a3d378775ac3cad0/cuda_core/cuda/core/_graph.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NVIDIA/cuda-python/pull/1512/{{ revealButtonHref }}
https://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-d94b32bb45e3765ffbb08cac58a306d1eb1b5dcb6f8534870720d3e445fa528b
leofanghttps://github.com/leofang
Jan 17, 2026https://github.com/NVIDIA/cuda-python/pull/1512/changes#r2700717806
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
Andy-Josthttps://github.com/Andy-Jost
Jan 17, 2026https://github.com/NVIDIA/cuda-python/pull/1512/changes#r2701277344
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
mdboomhttps://github.com/mdboom
Jan 20, 2026https://github.com/NVIDIA/cuda-python/pull/1512/changes#r2708527455
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
Andy-Josthttps://github.com/Andy-Jost
Jan 20, 2026https://github.com/NVIDIA/cuda-python/pull/1512/changes#r2708917667
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/NVIDIA/cuda-python/pull/1512/changes#r2708906879https://github.com/NVIDIA/cuda-python/pull/1512/changes#r2708906879
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
Andy-Josthttps://github.com/Andy-Jost
Jan 23, 2026https://github.com/NVIDIA/cuda-python/pull/1512/changes#r2722491856
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
mdboomhttps://github.com/mdboom
Feb 18, 2026https://github.com/NVIDIA/cuda-python/pull/1512/changes#r2824037644
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
https://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-d94b32bb45e3765ffbb08cac58a306d1eb1b5dcb6f8534870720d3e445fa528b
cuda_core/tests/graph/test_advanced.pyhttps://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-669b657b306225ed279e0c765823de775d0702469df9a8091020ebb72f7ab2df
View file https://github.com/Andy-Jost/cuda-python/blob/b3ce986fb4c91750d0ba51e8a3d378775ac3cad0/cuda_core/tests/graph/test_advanced.py
Open in desktop https://desktop.github.com
Andy-Josthttps://github.com/Andy-Jost
Jan 16, 2026https://github.com/NVIDIA/cuda-python/pull/1512/changes#r2700109281
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
https://github.co/hiddenchars
https://github.com/NVIDIA/cuda-python/pull/1512/{{ revealButtonHref }}
cuda_core/tests/graph/test_basic.pyhttps://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-dbb7e24afdf48753c96241e315c6faf96dd9b176ba3f2738635f4dbbd0f12dc2
View file https://github.com/Andy-Jost/cuda-python/blob/b3ce986fb4c91750d0ba51e8a3d378775ac3cad0/cuda_core/tests/graph/test_basic.py
Open in desktop https://desktop.github.com
Andy-Josthttps://github.com/Andy-Jost
Jan 16, 2026https://github.com/NVIDIA/cuda-python/pull/1512/changes#r2700109662
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
https://github.co/hiddenchars
https://github.com/NVIDIA/cuda-python/pull/1512/{{ revealButtonHref }}
cuda_core/tests/test_graph_mem.py → cuda_core/tests/graph/test_capture_alloc.pyhttps://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-a8c9c45d577db23ea9096c55f0fa6b3d3c94316c2e5257124b71913f214016ec
View file https://github.com/Andy-Jost/cuda-python/blob/b3ce986fb4c91750d0ba51e8a3d378775ac3cad0/cuda_core/tests/graph/test_capture_alloc.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NVIDIA/cuda-python/pull/1512/{{ revealButtonHref }}
https://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-a8c9c45d577db23ea9096c55f0fa6b3d3c94316c2e5257124b71913f214016ec
https://github.com/NVIDIA/cuda-python/pull/1512/changes#diff-a8c9c45d577db23ea9096c55f0fa6b3d3c94316c2e5257124b71913f214016ec
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1512/changes
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.