René's URL Explorer Experiment


Title: Fix _util.device_from_ctx by keenan-simpson · Pull Request #203 · NVIDIA/cuda-python · GitHub

Open Graph Title: Fix _util.device_from_ctx by keenan-simpson · Pull Request #203 · NVIDIA/cuda-python

X Title: Fix _util.device_from_ctx by keenan-simpson · Pull Request #203 · NVIDIA/cuda-python

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

Open Graph Description: The obvious issue is that both of these call get_device_from_ctx which references the unimported Device(). Importing it would cause a circular dependency. Importing it within the get_device_from_ct...

X Description: The obvious issue is that both of these call get_device_from_ctx which references the unimported Device(). Importing it would cause a circular dependency. Importing it within the get_device_from_ct...

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

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:e15cf1e2-cdae-3884-5382-2c11651c00f9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA058:A791:7B34CE:A2611A:6AF83FE6
html-safe-nonce1cad72a78e4b8d4a371a8d1e928f1994243857138b4e76dd7670e4c4541d1388
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDU4OkE3OTE6N0IzNENFOkEyNjExQTo2QUY4M0ZFNiIsInZpc2l0b3JfaWQiOiI1NTYxNzI3MDA5MzY2MjI4OTY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdbc0f7158f6624ebbeafd7fe9e125907ccb3cf05daa7927485a1bf832d8f13c7
hovercard-subject-tagpull_request:2155114710
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/203/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8a41994ef10e02d6e1e426d8571a381ed4505b3158ccce1235024f8bed5e778c/NVIDIA/cuda-python/pull/203
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8a41994ef10e02d6e1e426d8571a381ed4505b3158ccce1235024f8bed5e778c/NVIDIA/cuda-python/pull/203
og:image:altThe obvious issue is that both of these call get_device_from_ctx which references the unimported Device(). Importing it would cause a circular dependency. Importing it within the get_device_from_ct...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekeenan-simpson
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/203#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F203
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%2F203
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/203
Reloadhttps://github.com/NVIDIA/cuda-python/pull/203
Reloadhttps://github.com/NVIDIA/cuda-python/pull/203
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
keenan-simpsonhttps://github.com/keenan-simpson
mainhttps://github.com/NVIDIA/cuda-python/tree/main
ksimpson/fix_device_from_ctxhttps://github.com/NVIDIA/cuda-python/tree/ksimpson/fix_device_from_ctx
Conversationhttps://github.com/NVIDIA/cuda-python/pull/203
Commits9 (9)https://github.com/NVIDIA/cuda-python/pull/203/commits
Checkshttps://github.com/NVIDIA/cuda-python/pull/203/checks
Files changedhttps://github.com/NVIDIA/cuda-python/pull/203/files
Fix _util.device_from_ctxhttps://github.com/NVIDIA/cuda-python/pull/203#top
keenan-simpsonhttps://github.com/keenan-simpson
mainhttps://github.com/NVIDIA/cuda-python/tree/main
ksimpson/fix_device_from_ctxhttps://github.com/NVIDIA/cuda-python/tree/ksimpson/fix_device_from_ctx
https://github.com/keenan-simpson
keenan-simpsonhttps://github.com/keenan-simpson
Oct 30, 2024https://github.com/NVIDIA/cuda-python/pull/203#issue-2625472468
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/203
#202https://github.com/NVIDIA/cuda-python/issues/202
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/203
https://github.com/keenan-simpson
remove the method and its referenceshttps://github.com/NVIDIA/cuda-python/pull/203/commits/90fa8f666ce81721e6945a32a44237be88aecce1
90fa8f6https://github.com/NVIDIA/cuda-python/pull/203/commits/90fa8f666ce81721e6945a32a44237be88aecce1
https://github.com/apps/copy-pr-bot
copy-pr-bothttps://github.com/apps/copy-pr-bot
Oct 30, 2024https://github.com/NVIDIA/cuda-python/pull/203#issuecomment-2448556350
herehttps://docs.gha-runners.nvidia.com/cpr/vetters
herehttps://docs.gha-runners.nvidia.com/cpr/contributors
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/203
https://github.com/keenan-simpson
keenan-simpsonhttps://github.com/keenan-simpson
Oct 30, 2024https://github.com/NVIDIA/cuda-python/pull/203#issuecomment-2448556625
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/203
https://github.com/keenan-simpson
keenan-simpsonhttps://github.com/keenan-simpson
leofanghttps://github.com/leofang
October 30, 2024 22:13https://github.com/NVIDIA/cuda-python/pull/203#event-15019423072
https://github.com/keenan-simpson
keenan-simpsonhttps://github.com/keenan-simpson
Oct 30, 2024https://github.com/NVIDIA/cuda-python/pull/203#event-15019425934
https://github.com/keenan-simpson
keenan-simpsonhttps://github.com/keenan-simpson
Oct 30, 2024 https://github.com/NVIDIA/cuda-python/pull/203#ref-pullrequest-2625040838
Add ruff linter #201 https://github.com/NVIDIA/cuda-python/pull/201
https://github.com/leofang
leofanghttps://github.com/leofang
Oct 31, 2024 https://github.com/NVIDIA/cuda-python/pull/203#pullrequestreview-2406759503
View reviewed changes https://github.com/NVIDIA/cuda-python/pull/203/files/90fa8f666ce81721e6945a32a44237be88aecce1
leofanghttps://github.com/leofang
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/203
https://github.com/NVIDIA/cuda-python/pull/203#pullrequestreview-2406759503
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/203
https://github.com/keenan-simpson
add failing testhttps://github.com/NVIDIA/cuda-python/pull/203/commits/0579f3a628270de7eceed213eb1a1aebb083b376
0579f3ahttps://github.com/NVIDIA/cuda-python/pull/203/commits/0579f3a628270de7eceed213eb1a1aebb083b376
https://github.com/keenan-simpson
keenan-simpsonhttps://github.com/keenan-simpson
Oct 31, 2024https://github.com/NVIDIA/cuda-python/pull/203#issuecomment-2450472709
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/203
https://github.com/keenan-simpson
fix circular import issuehttps://github.com/NVIDIA/cuda-python/pull/203/commits/ee55aa513d1cece68bbb1e2374e7c8d9bcf6b0bd
ee55aa5https://github.com/NVIDIA/cuda-python/pull/203/commits/ee55aa513d1cece68bbb1e2374e7c8d9bcf6b0bd
https://github.com/keenan-simpson
keenan-simpsonhttps://github.com/keenan-simpson
Oct 31, 2024https://github.com/NVIDIA/cuda-python/pull/203#issuecomment-2450536353
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/203
keenan-simpsonhttps://github.com/keenan-simpson
October 31, 2024 11:16https://github.com/NVIDIA/cuda-python/pull/203#commits-pushed-72deeb6
https://github.com/keenan-simpson
fix a couple little things in _utils methodhttps://github.com/NVIDIA/cuda-python/pull/203/commits/72deeb6f13a0e4e91137ecfb59b2fbb432cf9e90
72deeb6https://github.com/NVIDIA/cuda-python/pull/203/commits/72deeb6f13a0e4e91137ecfb59b2fbb432cf9e90
https://github.com/keenan-simpson
revert stream changeshttps://github.com/NVIDIA/cuda-python/pull/203/commits/874261d7248cbab555ede4049a088b78d0eac88a
874261dhttps://github.com/NVIDIA/cuda-python/pull/203/commits/874261d7248cbab555ede4049a088b78d0eac88a
https://github.com/keenan-simpson
revert whitespaces changes.. leave them for the ruff lint reviewhttps://github.com/NVIDIA/cuda-python/pull/203/commits/0c4d86f4de1bfed48d65fb11420eb49ae0c36642
0c4d86fhttps://github.com/NVIDIA/cuda-python/pull/203/commits/0c4d86f4de1bfed48d65fb11420eb49ae0c36642
https://github.com/keenan-simpson
keenan-simpsonhttps://github.com/keenan-simpson
October 31, 2024 18:21https://github.com/NVIDIA/cuda-python/pull/203#event-15043904299
https://github.com/keenan-simpson
keenan-simpsonhttps://github.com/keenan-simpson
Oct 31, 2024https://github.com/NVIDIA/cuda-python/pull/203#event-15043970858
https://github.com/leofang
leofanghttps://github.com/leofang
Nov 2, 2024 https://github.com/NVIDIA/cuda-python/pull/203#pullrequestreview-2411008673
View reviewed changes https://github.com/NVIDIA/cuda-python/pull/203/files/0c4d86f4de1bfed48d65fb11420eb49ae0c36642
leofanghttps://github.com/leofang
https://github.com/NVIDIA/cuda-python/pull/203#pullrequestreview-2411008673
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/203
cuda_core/tests/test_stream.pyhttps://github.com/NVIDIA/cuda-python/pull/203/files/0c4d86f4de1bfed48d65fb11420eb49ae0c36642#diff-03f8d936d30b4f5543685734760a1da1fbbefea5c8feb4fe414e8427d9be9511
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/203
https://github.com/leofang
leofanghttps://github.com/leofang
cuda.core beta 2https://github.com/NVIDIA/cuda-python/milestone/4
Nov 2, 2024https://github.com/NVIDIA/cuda-python/pull/203#event-15075756586
https://github.com/leofang
leofanghttps://github.com/leofang
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
P0 https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3AP0
Nov 2, 2024https://github.com/NVIDIA/cuda-python/pull/203#event-15075757316
keenan-simpsonhttps://github.com/keenan-simpson
November 4, 2024 09:23https://github.com/NVIDIA/cuda-python/pull/203#commits-pushed-925a42d
https://github.com/keenan-simpson
https://github.com/leofang
Update cuda_core/tests/test_stream.pyhttps://github.com/NVIDIA/cuda-python/pull/203/commits/925a42de2d1ea5bf78ce3a6c72cf4be4b3fc7a75
925a42dhttps://github.com/NVIDIA/cuda-python/pull/203/commits/925a42de2d1ea5bf78ce3a6c72cf4be4b3fc7a75
https://github.com/keenan-simpson
Merge branch 'main' into ksimpson/fix_device_from_ctxhttps://github.com/NVIDIA/cuda-python/pull/203/commits/1f4e5cd1d6d37bc143cad9786870d45034568616
1f4e5cdhttps://github.com/NVIDIA/cuda-python/pull/203/commits/1f4e5cd1d6d37bc143cad9786870d45034568616
https://github.com/leofang
Merge branch 'main' into ksimpson/fix_device_from_ctxhttps://github.com/NVIDIA/cuda-python/pull/203/commits/8f357c75433d0a21a50d0f81b1b8bac7a2ccb48d
8f357c7https://github.com/NVIDIA/cuda-python/pull/203/commits/8f357c75433d0a21a50d0f81b1b8bac7a2ccb48d
https://github.com/leofang
leofanghttps://github.com/leofang
Nov 12, 2024 https://github.com/NVIDIA/cuda-python/pull/203#pullrequestreview-2428382333
View reviewed changes https://github.com/NVIDIA/cuda-python/pull/203/files/8f357c75433d0a21a50d0f81b1b8bac7a2ccb48d
https://github.com/keenan-simpson
keenan-simpsonhttps://github.com/keenan-simpson
92aa731https://github.com/NVIDIA/cuda-python/commit/92aa73156ec6d0af689f72ca4d8f6bf39871afb9
Nov 12, 2024https://github.com/NVIDIA/cuda-python/pull/203#event-15268484443
https://github.com/keenan-simpson
keenan-simpsonhttps://github.com/keenan-simpson
November 12, 2024 17:25https://github.com/NVIDIA/cuda-python/pull/203#event-15268484880
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Aug 4, 2026 https://github.com/NVIDIA/cuda-python/pull/203#ref-issue-5055412379
[BUG]: default_stream() singletons permanently cache the first-seen context and device #2485 https://github.com/NVIDIA/cuda-python/issues/2485
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%2F203
https://github.com/leofang
leofang https://github.com/leofang
https://github.com/NVIDIA/cuda-python/pull/203/files/8f357c75433d0a21a50d0f81b1b8bac7a2ccb48d
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/203
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
P0 https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3AP0
cuda.core beta 2 https://github.com/NVIDIA/cuda-python/milestone/4
Fix Stream.device and Stream.context with respect to _util.device.from_ctx https://github.com/NVIDIA/cuda-python/issues/202
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/203
https://github.com/keenan-simpson
https://github.com/leofang
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.