René's URL Explorer Experiment


Title: Use shared_ptr for NVML event_set resource management by mdboom · Pull Request #2240 · NVIDIA/cuda-python · GitHub

Open Graph Title: Use shared_ptr for NVML event_set resource management by mdboom · Pull Request #2240 · NVIDIA/cuda-python

X Title: Use shared_ptr for NVML event_set resource management by mdboom · Pull Request #2240 · NVIDIA/cuda-python

Description: CUDA Python: Performance meets Productivity. Contribute to NVIDIA/cuda-python development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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 o...

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

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:de834092-fecf-9220-35d5-ce1cd0290f07
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD550:29D7A5:5340C5:6CB283:6AF83268
html-safe-nonce9978e591afb246cb6e2401aeb49735d20f2a8b54da0d9cbbe5fc8509164c208b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTUwOjI5RDdBNTo1MzQwQzU6NkNCMjgzOjZBRjgzMjY4IiwidmlzaXRvcl9pZCI6IjQ3NzQ3MzAxOTAwMjgyODg2MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf4eb9d202a1e83a9163bc30c84d31bbb90665b48f50d36720a518e312aa13d57
hovercard-subject-tagpull_request:3912677095
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/NVIDIA/cuda-python/2240/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/531dbd14379745f26a6b65033e2bbfd9bfa39ec92af118d3bcec8eb1f07966d4/NVIDIA/cuda-python/pull/2240
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/531dbd14379745f26a6b65033e2bbfd9bfa39ec92af118d3bcec8eb1f07966d4/NVIDIA/cuda-python/pull/2240
og:image:altThis 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemdboom
hostnamegithub.com
expected-hostnamegithub.com
None5713ecd83001b2f55c3509fb7a292bf7d66d0f167c7ae87a9f7eaec5a52bf8db
turbo-cache-controlno-cache
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
disable-turbofalse
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
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/NVIDIA/cuda-python/pull/2240#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F2240
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%2F2240
Sign uphttps://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
Reloadhttps://github.com/NVIDIA/cuda-python/pull/2240
Reloadhttps://github.com/NVIDIA/cuda-python/pull/2240
Reloadhttps://github.com/NVIDIA/cuda-python/pull/2240
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
https://github.com/NVIDIA/cuda-python
mdboomhttps://github.com/mdboom
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
mdboom:use-shared-ptr-for-event-sethttps://github.com/mdboom/cuda-python/tree/use-shared-ptr-for-event-set
Conversationhttps://github.com/NVIDIA/cuda-python/pull/2240
Commits2 (2)https://github.com/NVIDIA/cuda-python/pull/2240/commits
Checkshttps://github.com/NVIDIA/cuda-python/pull/2240/checks
Files changedhttps://github.com/NVIDIA/cuda-python/pull/2240/files
Use shared_ptr for NVML event_set resource managementhttps://github.com/NVIDIA/cuda-python/pull/2240#top
mdboomhttps://github.com/mdboom
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
mdboom:use-shared-ptr-for-event-sethttps://github.com/mdboom/cuda-python/tree/use-shared-ptr-for-event-set
https://github.com/mdboom
mdboomhttps://github.com/mdboom
Jun 22, 2026https://github.com/NVIDIA/cuda-python/pull/2240#issue-4717512335
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
#2234https://github.com/NVIDIA/cuda-python/pull/2234
#2234https://github.com/NVIDIA/cuda-python/pull/2234
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
https://github.com/apps/copy-pr-bot
copy-pr-bothttps://github.com/apps/copy-pr-bot
Jun 22, 2026https://github.com/NVIDIA/cuda-python/pull/2240#issuecomment-4769289342
herehttps://docs.gha-runners.nvidia.com/cpr/auto-sync
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
cuda.core https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Acuda.core
Jun 22, 2026https://github.com/NVIDIA/cuda-python/pull/2240#event-27046165096
https://github.com/mdboom
mdboomhttps://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
mdboomhttps://github.com/mdboom
Jun 22, 2026https://github.com/NVIDIA/cuda-python/pull/2240#issuecomment-4769734352
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
https://github.com/mdboom
mdboomhttps://github.com/mdboom
Andy-Josthttps://github.com/Andy-Jost
June 22, 2026 15:04https://github.com/NVIDIA/cuda-python/pull/2240#event-27048436064
https://github.com/mdboom
mdboomhttps://github.com/mdboom
force-pushedhttps://github.com/NVIDIA/cuda-python/compare/b5904e535647abda81379952ddf5b6b80063d10a..80b0d6018f48537219f4f304f41a54ba9080eb8c
b5904e5https://github.com/NVIDIA/cuda-python/commit/b5904e535647abda81379952ddf5b6b80063d10a
80b0d60https://github.com/NVIDIA/cuda-python/commit/80b0d6018f48537219f4f304f41a54ba9080eb8c
Compare https://github.com/NVIDIA/cuda-python/compare/b5904e535647abda81379952ddf5b6b80063d10a..80b0d6018f48537219f4f304f41a54ba9080eb8c
June 22, 2026 16:47https://github.com/NVIDIA/cuda-python/pull/2240#event-27053339361
https://github.com/mdboom
mdboomhttps://github.com/mdboom
Jun 22, 2026https://github.com/NVIDIA/cuda-python/pull/2240#issuecomment-4770925656
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 22, 2026https://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 pagehttps://github.com/NVIDIA/cuda-python/pull/2240
https://github.com/mdboom
Use shared_ptr for event setshttps://github.com/NVIDIA/cuda-python/pull/2240/commits/a41bf7c4c8e69959714c2a7c743e2a02972a8d76
a41bf7chttps://github.com/NVIDIA/cuda-python/pull/2240/commits/a41bf7c4c8e69959714c2a7c743e2a02972a8d76
https://github.com/mdboom
mdboomhttps://github.com/mdboom
force-pushedhttps://github.com/NVIDIA/cuda-python/compare/80b0d6018f48537219f4f304f41a54ba9080eb8c..a41bf7c4c8e69959714c2a7c743e2a02972a8d76
80b0d60https://github.com/NVIDIA/cuda-python/commit/80b0d6018f48537219f4f304f41a54ba9080eb8c
a41bf7chttps://github.com/NVIDIA/cuda-python/commit/a41bf7c4c8e69959714c2a7c743e2a02972a8d76
Compare https://github.com/NVIDIA/cuda-python/compare/80b0d6018f48537219f4f304f41a54ba9080eb8c..a41bf7c4c8e69959714c2a7c743e2a02972a8d76
June 23, 2026 13:36https://github.com/NVIDIA/cuda-python/pull/2240#event-27096042240
https://github.com/mdboom
mdboomhttps://github.com/mdboom
Jun 23, 2026https://github.com/NVIDIA/cuda-python/pull/2240#issuecomment-4780573028
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
https://github.com/mdboom
Merge branch 'main' into use-shared-ptr-for-event-sethttps://github.com/NVIDIA/cuda-python/pull/2240/commits/342d01198fa8c2141868d11458f848f1f08cc486
342d011https://github.com/NVIDIA/cuda-python/pull/2240/commits/342d01198fa8c2141868d11458f848f1f08cc486
https://github.com/mdboom
mdboomhttps://github.com/mdboom
Jun 23, 2026https://github.com/NVIDIA/cuda-python/pull/2240#issuecomment-4780894971
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
https://github.com/Andy-Jost
Andy-Josthttps://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.cpphttps://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486#diff-e772efc4150f80731482db13a9cfea60a0b34ff91c9c93d889f45f4b36e24f22
Andy-Josthttps://github.com/Andy-Jost
Jun 23, 2026https://github.com/NVIDIA/cuda-python/pull/2240#discussion_r3462718478
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
cuda_core/cuda/core/_cpp/resource_handles.cpphttps://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486#diff-e772efc4150f80731482db13a9cfea60a0b34ff91c9c93d889f45f4b36e24f22
Andy-Josthttps://github.com/Andy-Jost
Jun 23, 2026https://github.com/NVIDIA/cuda-python/pull/2240#discussion_r3462805053
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
cuda_core/cuda/core/_cpp/resource_handles.cpphttps://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486#diff-e772efc4150f80731482db13a9cfea60a0b34ff91c9c93d889f45f4b36e24f22
Andy-Josthttps://github.com/Andy-Jost
Jun 23, 2026https://github.com/NVIDIA/cuda-python/pull/2240#discussion_r3462813805
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
cuda_core/cuda/core/_cpp/resource_handles.cpphttps://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486#diff-e772efc4150f80731482db13a9cfea60a0b34ff91c9c93d889f45f4b36e24f22
Andy-Josthttps://github.com/Andy-Jost
Jun 23, 2026https://github.com/NVIDIA/cuda-python/pull/2240#discussion_r3462897102
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
cuda_core/cuda/core/_cpp/resource_handles.hpphttps://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486#diff-ac1c4bcbc435c2ba43eeb4efe2e81d0ddfd50f16d42a5dae29fee44012570a09
Andy-Josthttps://github.com/Andy-Jost
Jun 23, 2026https://github.com/NVIDIA/cuda-python/pull/2240#discussion_r3462944673
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
cuda_core/cuda/core/system/_event.pxihttps://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486#diff-864889d3b0487a458eed6c2b12fcba73da9f99f4c439ef4ecbc675e86f6efe12
Andy-Josthttps://github.com/Andy-Jost
Jun 23, 2026https://github.com/NVIDIA/cuda-python/pull/2240#discussion_r3462960990
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
cuda_core/cuda/core/system/_event.pxihttps://github.com/NVIDIA/cuda-python/pull/2240/files/342d01198fa8c2141868d11458f848f1f08cc486#diff-864889d3b0487a458eed6c2b12fcba73da9f99f4c439ef4ecbc675e86f6efe12
Andy-Josthttps://github.com/Andy-Jost
Jun 23, 2026https://github.com/NVIDIA/cuda-python/pull/2240#discussion_r3463007278
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
https://github.com/mdboom
mdboomhttps://github.com/mdboom
Jul 23, 2026https://github.com/NVIDIA/cuda-python/pull/2240#issuecomment-5062591918
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2240
https://github.com/mdboom
mdboomhttps://github.com/mdboom
Jul 23, 2026https://github.com/NVIDIA/cuda-python/pull/2240#event-28401604826
github-actionshttps://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 PRshttps://github.com/NVIDIA/cuda-python/commit/8e5a243c189649899fc44ed5488c9e5c48eb5397
8e5a243https://github.com/NVIDIA/cuda-python/commit/8e5a243c189649899fc44ed5488c9e5c48eb5397
#2240https://github.com/NVIDIA/cuda-python/pull/2240
#2413https://github.com/NVIDIA/cuda-python/pull/2413
https://github.co/hiddenchars
https://github.com/NVIDIA/cuda-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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 pagehttps://github.com/NVIDIA/cuda-python/pull/2240
https://github.com/mdboom
https://github.com/Andy-Jost
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.