René's URL Explorer Experiment


Title: fix(cuda.core): surface real CUDA error in Device.set_current() by juenglin · Pull Request #2461 · NVIDIA/cuda-python · GitHub

Open Graph Title: fix(cuda.core): surface real CUDA error in Device.set_current() by juenglin · Pull Request #2461 · NVIDIA/cuda-python

X Title: fix(cuda.core): surface real CUDA error in Device.set_current() by juenglin · Pull Request #2461 · NVIDIA/cuda-python

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

Open Graph Description: closes #2460 Device.set_current() raised a misleading ValueError ("Cannot set NULL context as current") when cuDevicePrimaryCtxRetain failed, discarding the actual driver error code and l...

X Description: closes #2460 Device.set_current() raised a misleading ValueError ("Cannot set NULL context as current") when cuDevicePrimaryCtxRetain failed, discarding the actual driver error co...

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

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:4c2d7597-f177-8845-b975-157040625b30
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBEE4:13A979:761E89:9A7A82:6AF83B6B
html-safe-nonce212ac3e255cd7e17b2b527a1f2e462e39fc9097ecb180bc96a607a41d0e7b9d6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUU0OjEzQTk3OTo3NjFFODk6OUE3QTgyOjZBRjgzQjZCIiwidmlzaXRvcl9pZCI6IjQ5MTg4NjE1NDQzNjEwNDg5MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac29c077d3024e7a5a015d28648435c01f6d16598106608bac6a6f8ee5ac645ada
hovercard-subject-tagpull_request:4173456070
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/2461/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f3baa685db35ece3b7c04bbe38cd9516db9e97e12d57b97df65eeccd3d9a5bce/NVIDIA/cuda-python/pull/2461
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f3baa685db35ece3b7c04bbe38cd9516db9e97e12d57b97df65eeccd3d9a5bce/NVIDIA/cuda-python/pull/2461
og:image:altcloses #2460 Device.set_current() raised a misleading ValueError ("Cannot set NULL context as current") when cuDevicePrimaryCtxRetain failed, discarding the actual driver error code and l...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejuenglin
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/2461#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F2461
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%2F2461
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/2461
Reloadhttps://github.com/NVIDIA/cuda-python/pull/2461
Reloadhttps://github.com/NVIDIA/cuda-python/pull/2461
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
juenglinhttps://github.com/juenglin
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
juenglin:set-primary-context-bughttps://github.com/juenglin/cuda-python/tree/set-primary-context-bug
Conversationhttps://github.com/NVIDIA/cuda-python/pull/2461
Commits1 (1)https://github.com/NVIDIA/cuda-python/pull/2461/commits
Checkshttps://github.com/NVIDIA/cuda-python/pull/2461/checks
Files changedhttps://github.com/NVIDIA/cuda-python/pull/2461/files
fix(cuda.core): surface real CUDA error in Device.set_current()https://github.com/NVIDIA/cuda-python/pull/2461#top
juenglinhttps://github.com/juenglin
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
juenglin:set-primary-context-bughttps://github.com/juenglin/cuda-python/tree/set-primary-context-bug
https://github.com/juenglin
juenglinhttps://github.com/juenglin
Jul 30, 2026https://github.com/NVIDIA/cuda-python/pull/2461#issue-5024543562
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2461
#2460https://github.com/NVIDIA/cuda-python/issues/2460
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2461
https://github.com/juenglin
fix(cuda.core): surface real CUDA error in Device.set_current()https://github.com/NVIDIA/cuda-python/pull/2461/commits/6a7cf126e79f85195d95d0d22d76494d96a24e26
6a7cf12https://github.com/NVIDIA/cuda-python/pull/2461/commits/6a7cf126e79f85195d95d0d22d76494d96a24e26
https://github.com/apps/copy-pr-bot
copy-pr-bothttps://github.com/apps/copy-pr-bot
Jul 30, 2026https://github.com/NVIDIA/cuda-python/pull/2461#issuecomment-5136961775
herehttps://docs.gha-runners.nvidia.com/cpr/auto-sync
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2461
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
Jul 30, 2026https://github.com/NVIDIA/cuda-python/pull/2461#event-28748352887
https://github.com/juenglin
juenglinhttps://github.com/juenglin
July 30, 2026 22:37https://github.com/NVIDIA/cuda-python/pull/2461#event-28748386064
https://github.com/juenglin
juenglinhttps://github.com/juenglin
cuda.core 1.2.0https://github.com/NVIDIA/cuda-python/milestone/49
Jul 30, 2026https://github.com/NVIDIA/cuda-python/pull/2461#event-28748396528
https://github.com/juenglin
juenglinhttps://github.com/juenglin
bug https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Abug
Jul 30, 2026https://github.com/NVIDIA/cuda-python/pull/2461#event-28748401388
https://github.com/juenglin
juenglinhttps://github.com/juenglin
Jul 30, 2026https://github.com/NVIDIA/cuda-python/pull/2461#event-28748402474
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F2461
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
Jul 31, 2026 https://github.com/NVIDIA/cuda-python/pull/2461#pullrequestreview-4824938084
View reviewed changes https://github.com/NVIDIA/cuda-python/pull/2461/files/6a7cf126e79f85195d95d0d22d76494d96a24e26
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
Jul 31, 2026https://github.com/NVIDIA/cuda-python/pull/2461#issuecomment-5138574606
@juenglinhttps://github.com/juenglin
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2461
https://github.com/juenglin
juenglinhttps://github.com/juenglin
Jul 31, 2026https://github.com/NVIDIA/cuda-python/pull/2461#issuecomment-5144472674
@juenglinhttps://github.com/juenglin
get_primary_contexthttps://github.com/NVIDIA/cuda-python/blob/main/cuda_core/cuda/core/_cpp/resource_handles.cpp#L550
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2461
https://github.com/juenglin
juenglinhttps://github.com/juenglin
915d0dahttps://github.com/NVIDIA/cuda-python/commit/915d0da4fe53743dfde34c89d9b6ee8f92b55f39
Jul 31, 2026https://github.com/NVIDIA/cuda-python/pull/2461#event-28801761264
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2461
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 1, 2026https://github.com/NVIDIA/cuda-python/pull/2461#issuecomment-5148622612
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2461
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Sep 3, 2026 https://github.com/NVIDIA/cuda-python/pull/2461#ref-issue-5330770199
[RFC] cuda.core: a written policy for failures that cannot be raised, cascading failures, and std::abort #2758 https://github.com/NVIDIA/cuda-python/issues/2758
leofanghttps://github.com/leofang
Sep 9, 2026 https://github.com/NVIDIA/cuda-python/pull/2461#ref-commit-0770ab6
https://github.com/mdboom
https://github.com/juenglin
https://github.com/lijinf2
https://github.com/rluo8
https://github.com/aryanputta
https://github.com/bharatr21
https://github.com/Andy-Jost
https://github.com/seberg
https://github.com/isVoid
https://github.com/rwgk
https://github.com/tirthpatel90
https://github.com/atiaomar1978-hub
https://github.com/cursoragent
https://github.com/LeSingh1
https://github.com/uday1o1
https://github.com/gmanal
https://github.com/yimoj
https://github.com/kkraus14
https://github.com/rparolin
https://github.com/claude
https://github.com/andrewwhitecdw
https://github.com/arpitjain099
https://github.com/fedonman
https://github.com/DEKHTIARJonathan
https://github.com/clin1234
https://github.com/brandon-b-miller
https://github.com/jpascucci-nv
https://github.com/Symbioose
https://github.com/leofang
https://github.com/apps/dependabot
Prepare for 13.4.1 release (https://github.com/NVIDIA/cuda-python/commit/0770ab6ced8931ae8b6c6e5f622f48cb07ea99fa
#2788https://github.com/NVIDIA/cuda-python/pull/2788
)https://github.com/NVIDIA/cuda-python/commit/0770ab6ced8931ae8b6c6e5f622f48cb07ea99fa
0770ab6https://github.com/NVIDIA/cuda-python/commit/0770ab6ced8931ae8b6c6e5f622f48cb07ea99fa
leofanghttps://github.com/leofang
Sep 10, 2026 https://github.com/NVIDIA/cuda-python/pull/2461#ref-commit-3ae71ca
https://github.com/leofang
https://github.com/rwgk
https://github.com/Andy-Jost
https://github.com/rluo8
https://github.com/juenglin
https://github.com/lijinf2
https://github.com/aryanputta
https://github.com/bharatr21
https://github.com/seberg
https://github.com/isVoid
https://github.com/tirthpatel90
https://github.com/atiaomar1978-hub
https://github.com/cursoragent
https://github.com/LeSingh1
https://github.com/uday1o1
https://github.com/gmanal
https://github.com/yimoj
https://github.com/kkraus14
https://github.com/rparolin
https://github.com/claude
https://github.com/andrewwhitecdw
https://github.com/arpitjain099
https://github.com/fedonman
https://github.com/DEKHTIARJonathan
https://github.com/clin1234
https://github.com/brandon-b-miller
https://github.com/jpascucci-nv
https://github.com/Symbioose
https://github.com/apps/dependabot
Pull 13.4.1 changes into main (https://github.com/NVIDIA/cuda-python/commit/3ae71cab3f54a84f66b84eb4e6daf925d60bd2e9
#2789https://github.com/NVIDIA/cuda-python/pull/2789
)https://github.com/NVIDIA/cuda-python/commit/3ae71cab3f54a84f66b84eb4e6daf925d60bd2e9
3ae71cahttps://github.com/NVIDIA/cuda-python/commit/3ae71cab3f54a84f66b84eb4e6daf925d60bd2e9
https://github.com/juenglin
juenglinhttps://github.com/juenglin
Sep 22, 2026 https://github.com/NVIDIA/cuda-python/pull/2461#ref-pullrequest-5542092075
fix(bindings): cover missing helper attrs and fix CU_JIT_WALL_TIME pointer #2931 https://github.com/NVIDIA/cuda-python/pull/2931
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%2F2461
https://github.com/kkraus14
kkraus14 https://github.com/kkraus14
https://github.com/NVIDIA/cuda-python/pull/2461/files/6a7cf126e79f85195d95d0d22d76494d96a24e26
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2461
https://github.com/juenglin
juenglin https://github.com/juenglin
bug https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Abug
cuda.core https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Acuda.core
cuda.core 1.2.0 https://github.com/NVIDIA/cuda-python/milestone/49
[BUG]: Device.set_current() discards real CUDA error and raises misleading ValueError https://github.com/NVIDIA/cuda-python/issues/2460
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2461
https://github.com/juenglin
https://github.com/kkraus14
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.