| react-profiling | 0 |
| react-import-map | react,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 | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:de834092-fecf-9220-35d5-ce1cd0290f07 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D550:29D7A5:5340C5:6CB283:6AF83268 |
| html-safe-nonce | 9978e591afb246cb6e2401aeb49735d20f2a8b54da0d9cbbe5fc8509164c208b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTUwOjI5RDdBNTo1MzQwQzU6NkNCMjgzOjZBRjgzMjY4IiwidmlzaXRvcl9pZCI6IjQ3NzQ3MzAxOTAwMjgyODg2MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f4eb9d202a1e83a9163bc30c84d31bbb90665b48f50d36720a518e312aa13d57 |
| hovercard-subject-tag | pull_request:3912677095 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/NVIDIA/cuda-python/2240/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/531dbd14379745f26a6b65033e2bbfd9bfa39ec92af118d3bcec8eb1f07966d4/NVIDIA/cuda-python/pull/2240 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/531dbd14379745f26a6b65033e2bbfd9bfa39ec92af118d3bcec8eb1f07966d4/NVIDIA/cuda-python/pull/2240 |
| og:image:alt | This is a proof-of-concept of the proposed instructions in #2234. I asked Claude to use those instructions to port the management of NVML event sets to use shared_ptr. I didn't edit its outpu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mdboom |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5713ecd83001b2f55c3509fb7a292bf7d66d0f167c7ae87a9f7eaec5a52bf8db |
| turbo-cache-control | no-cache |
| go-import | github.com/NVIDIA/cuda-python git https://github.com/NVIDIA/cuda-python.git |
| octolytics-dimension-user_id | 1728152 |
| octolytics-dimension-user_login | NVIDIA |
| octolytics-dimension-repository_id | 381173759 |
| octolytics-dimension-repository_nwo | NVIDIA/cuda-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 381173759 |
| octolytics-dimension-repository_network_root_nwo | NVIDIA/cuda-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 653be32ff5c755082a4db662491bfbbcfc9112c1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/NVIDIA/cuda-python/pull/2240#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F2240 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F2240 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=NVIDIA%2Fcuda-python |
| Reload | https://github.com/NVIDIA/cuda-python/pull/2240 |
| Reload | https://github.com/NVIDIA/cuda-python/pull/2240 |
| Reload | https://github.com/NVIDIA/cuda-python/pull/2240 |
| NVIDIA | https://github.com/NVIDIA |
| cuda-python | https://github.com/NVIDIA/cuda-python |
| Code | https://github.com/NVIDIA/cuda-python |
| Issues219 (219) | https://github.com/NVIDIA/cuda-python/issues |
| Pull requests92 (92) | https://github.com/NVIDIA/cuda-python/pulls |
| Discussions | https://github.com/NVIDIA/cuda-python/discussions |
| Actions | https://github.com/NVIDIA/cuda-python/actions |
| Projects | https://github.com/NVIDIA/cuda-python/projects |
| Wiki | https://github.com/NVIDIA/cuda-python/wiki |
| Security and quality | https://github.com/NVIDIA/cuda-python/security |
| Insights | https://github.com/NVIDIA/cuda-python/pulse |
| https://github.com/NVIDIA/cuda-python |
| mdboom | https://github.com/mdboom |
| NVIDIA:main | https://github.com/NVIDIA/cuda-python/tree/main |
| mdboom:use-shared-ptr-for-event-set | https://github.com/mdboom/cuda-python/tree/use-shared-ptr-for-event-set |
| Conversation | https://github.com/NVIDIA/cuda-python/pull/2240 |
| Commits2 (2) | https://github.com/NVIDIA/cuda-python/pull/2240/commits |
| Checks | https://github.com/NVIDIA/cuda-python/pull/2240/checks |
| Files changed | https://github.com/NVIDIA/cuda-python/pull/2240/files |
| Use shared_ptr for NVML event_set resource management | https://github.com/NVIDIA/cuda-python/pull/2240#top |
| mdboom | https://github.com/mdboom |
| NVIDIA:main | https://github.com/NVIDIA/cuda-python/tree/main |
| mdboom:use-shared-ptr-for-event-set | https://github.com/mdboom/cuda-python/tree/use-shared-ptr-for-event-set |
|
| https://github.com/mdboom |
| mdboom | https://github.com/mdboom |
| Jun 22, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#issue-4717512335 |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
| #2234 | https://github.com/NVIDIA/cuda-python/pull/2234 |
| #2234 | https://github.com/NVIDIA/cuda-python/pull/2234 |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
| https://github.com/apps/copy-pr-bot |
| copy-pr-bot | https://github.com/apps/copy-pr-bot |
| Jun 22, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#issuecomment-4769289342 |
| here | https://docs.gha-runners.nvidia.com/cpr/auto-sync |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
cuda.core
| https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Acuda.core |
| Jun 22, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#event-27046165096 |
| https://github.com/mdboom |
| mdboom | https://github.com/mdboom |
|
Jun 22, 2026
| https://github.com/NVIDIA/cuda-python/pull/2240#ref-pullrequest-4686445101 |
|
cuda.core: document the canonical resource-lifetime pattern in AGENTS.md
#2234
| https://github.com/NVIDIA/cuda-python/pull/2234 |
| https://github.com/mdboom |
| mdboom | https://github.com/mdboom |
| Jun 22, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#issuecomment-4769734352 |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
| https://github.com/mdboom |
| mdboom | https://github.com/mdboom |
| Andy-Jost | https://github.com/Andy-Jost |
| June 22, 2026 15:04 | https://github.com/NVIDIA/cuda-python/pull/2240#event-27048436064 |
| https://github.com/mdboom |
| mdboom | https://github.com/mdboom |
| force-pushed | https://github.com/NVIDIA/cuda-python/compare/b5904e535647abda81379952ddf5b6b80063d10a..80b0d6018f48537219f4f304f41a54ba9080eb8c |
| b5904e5 | https://github.com/NVIDIA/cuda-python/commit/b5904e535647abda81379952ddf5b6b80063d10a |
| 80b0d60 | https://github.com/NVIDIA/cuda-python/commit/80b0d6018f48537219f4f304f41a54ba9080eb8c |
|
Compare
| https://github.com/NVIDIA/cuda-python/compare/b5904e535647abda81379952ddf5b6b80063d10a..80b0d6018f48537219f4f304f41a54ba9080eb8c |
| June 22, 2026 16:47 | https://github.com/NVIDIA/cuda-python/pull/2240#event-27053339361 |
| https://github.com/mdboom |
| mdboom | https://github.com/mdboom |
| Jun 22, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#issuecomment-4770925656 |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Jun 22, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#issuecomment-4771088383 |
| https://nvidia.github.io/cuda-python/pr-preview/pr-2240/ | https://nvidia.github.io/cuda-python/pr-preview/pr-2240/ |
| https://nvidia.github.io/cuda-python/pr-preview/pr-2240/cuda-core/ | https://nvidia.github.io/cuda-python/pr-preview/pr-2240/cuda-core/ |
| https://nvidia.github.io/cuda-python/pr-preview/pr-2240/cuda-bindings/ | https://nvidia.github.io/cuda-python/pr-preview/pr-2240/cuda-bindings/ |
| https://nvidia.github.io/cuda-python/pr-preview/pr-2240/cuda-pathfinder/ | https://nvidia.github.io/cuda-python/pr-preview/pr-2240/cuda-pathfinder/ |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
|
| https://github.com/mdboom |
| Use shared_ptr for event sets | https://github.com/NVIDIA/cuda-python/pull/2240/commits/a41bf7c4c8e69959714c2a7c743e2a02972a8d76 |
| a41bf7c | https://github.com/NVIDIA/cuda-python/pull/2240/commits/a41bf7c4c8e69959714c2a7c743e2a02972a8d76 |
| https://github.com/mdboom |
| mdboom | https://github.com/mdboom |
| force-pushed | https://github.com/NVIDIA/cuda-python/compare/80b0d6018f48537219f4f304f41a54ba9080eb8c..a41bf7c4c8e69959714c2a7c743e2a02972a8d76 |
| 80b0d60 | https://github.com/NVIDIA/cuda-python/commit/80b0d6018f48537219f4f304f41a54ba9080eb8c |
| a41bf7c | https://github.com/NVIDIA/cuda-python/commit/a41bf7c4c8e69959714c2a7c743e2a02972a8d76 |
|
Compare
| https://github.com/NVIDIA/cuda-python/compare/80b0d6018f48537219f4f304f41a54ba9080eb8c..a41bf7c4c8e69959714c2a7c743e2a02972a8d76 |
| June 23, 2026 13:36 | https://github.com/NVIDIA/cuda-python/pull/2240#event-27096042240 |
| https://github.com/mdboom |
| mdboom | https://github.com/mdboom |
| Jun 23, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#issuecomment-4780573028 |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
|
| https://github.com/mdboom |
| Merge branch 'main' into use-shared-ptr-for-event-set | https://github.com/NVIDIA/cuda-python/pull/2240/commits/342d01198fa8c2141868d11458f848f1f08cc486 |
| 342d011 | https://github.com/NVIDIA/cuda-python/pull/2240/commits/342d01198fa8c2141868d11458f848f1f08cc486 |
| https://github.com/mdboom |
| mdboom | https://github.com/mdboom |
| Jun 23, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#issuecomment-4780894971 |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
| https://github.com/Andy-Jost |
| Andy-Jost | https://github.com/Andy-Jost |
|
Jun 23, 2026
| https://github.com/NVIDIA/cuda-python/pull/2240#pullrequestreview-4556854115 |
|
View reviewed changes
| https://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486 |
| cuda_core/cuda/core/_cpp/resource_handles.cpp | https://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486#diff-e772efc4150f80731482db13a9cfea60a0b34ff91c9c93d889f45f4b36e24f22 |
| Andy-Jost | https://github.com/Andy-Jost |
| Jun 23, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#discussion_r3462718478 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
| cuda_core/cuda/core/_cpp/resource_handles.cpp | https://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486#diff-e772efc4150f80731482db13a9cfea60a0b34ff91c9c93d889f45f4b36e24f22 |
| Andy-Jost | https://github.com/Andy-Jost |
| Jun 23, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#discussion_r3462805053 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
| cuda_core/cuda/core/_cpp/resource_handles.cpp | https://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486#diff-e772efc4150f80731482db13a9cfea60a0b34ff91c9c93d889f45f4b36e24f22 |
| Andy-Jost | https://github.com/Andy-Jost |
| Jun 23, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#discussion_r3462813805 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
| cuda_core/cuda/core/_cpp/resource_handles.cpp | https://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486#diff-e772efc4150f80731482db13a9cfea60a0b34ff91c9c93d889f45f4b36e24f22 |
| Andy-Jost | https://github.com/Andy-Jost |
| Jun 23, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#discussion_r3462897102 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
| cuda_core/cuda/core/_cpp/resource_handles.hpp | https://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486#diff-ac1c4bcbc435c2ba43eeb4efe2e81d0ddfd50f16d42a5dae29fee44012570a09 |
| Andy-Jost | https://github.com/Andy-Jost |
| Jun 23, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#discussion_r3462944673 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
| cuda_core/cuda/core/system/_event.pxi | https://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486#diff-864889d3b0487a458eed6c2b12fcba73da9f99f4c439ef4ecbc675e86f6efe12 |
| Andy-Jost | https://github.com/Andy-Jost |
| Jun 23, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#discussion_r3462960990 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
| cuda_core/cuda/core/system/_event.pxi | https://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486#diff-864889d3b0487a458eed6c2b12fcba73da9f99f4c439ef4ecbc675e86f6efe12 |
| Andy-Jost | https://github.com/Andy-Jost |
| Jun 23, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#discussion_r3463007278 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
| https://github.com/mdboom |
| mdboom | https://github.com/mdboom |
| Jul 23, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#issuecomment-5062591918 |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
| https://github.com/mdboom |
| mdboom | https://github.com/mdboom |
| Jul 23, 2026 | https://github.com/NVIDIA/cuda-python/pull/2240#event-28401604826 |
| github-actions | https://github.com/apps/github-actions |
|
Jul 24, 2026
| https://github.com/NVIDIA/cuda-python/pull/2240#ref-commit-8e5a243 |
| Clean up PR preview folders for 2 closed/merged PRs | https://github.com/NVIDIA/cuda-python/commit/8e5a243c189649899fc44ed5488c9e5c48eb5397 |
| 8e5a243 | https://github.com/NVIDIA/cuda-python/commit/8e5a243c189649899fc44ed5488c9e5c48eb5397 |
| #2240 | https://github.com/NVIDIA/cuda-python/pull/2240 |
| #2413 | https://github.com/NVIDIA/cuda-python/pull/2413 |
| https://github.co/hiddenchars |
| https://github.com/NVIDIA/cuda-python/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F2240 |
|
| https://github.com/Andy-Jost |
|
Andy-Jost
| https://github.com/Andy-Jost |
|
| https://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486 |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
|
cuda.core
| https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Acuda.core |
| Please reload this page | https://github.com/NVIDIA/cuda-python/pull/2240 |
|
| https://github.com/mdboom |
|
| https://github.com/Andy-Jost |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |