René's URL Explorer Experiment


Title: fix(samples): respect CUDA_VISIBLE_DEVICES in multi-GPU cuda.core samples by mangeshraut712 · Pull Request #3220 · NVIDIA/cuda-python · GitHub

Open Graph Title: fix(samples): respect CUDA_VISIBLE_DEVICES in multi-GPU cuda.core samples by mangeshraut712 · Pull Request #3220 · NVIDIA/cuda-python

X Title: fix(samples): respect CUDA_VISIBLE_DEVICES in multi-GPU cuda.core samples by mangeshraut712 · Pull Request #3220 · 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 #3215. Summary Updated simpleP2P, simpleMultiGpu, and multiGPUGradientAverage to size device enumeration with len(Device.get_all_devices()), which follows CUDA runtime visibility including C...

X Description: Closes #3215. Summary Updated simpleP2P, simpleMultiGpu, and multiGPUGradientAverage to size device enumeration with len(Device.get_all_devices()), which follows CUDA runtime visibility including C...

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

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:74d5e33e-1001-5daa-b1f8-3cdbdbec9875
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE57E:2B354D:792310:9FC961:6AF83F4F
html-safe-nonce38924c3a858828af7034813b14b1219e29913c92d5768f2617b33c06a7d3fd80
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTdFOjJCMzU0RDo3OTIzMTA6OUZDOTYxOjZBRjgzRjRGIiwidmlzaXRvcl9pZCI6Ijg5NDMyNTAxNjU2MTU1NzQ4NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7150749f49aac425601a3b55c74bdfa3896a17e03ac2672978e81fedef1e76a5
hovercard-subject-tagpull_request:5009031542
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/3220/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b62a75b1b8b9234f4f52d7cb8a2bacd60dcfe9ac8b0538ed097b885fe35831db/NVIDIA/cuda-python/pull/3220
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b62a75b1b8b9234f4f52d7cb8a2bacd60dcfe9ac8b0538ed097b885fe35831db/NVIDIA/cuda-python/pull/3220
og:image:altCloses #3215. Summary Updated simpleP2P, simpleMultiGpu, and multiGPUGradientAverage to size device enumeration with len(Device.get_all_devices()), which follows CUDA runtime visibility including C...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemangeshraut712
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/3220#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F3220
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%2F3220
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/3220
Reloadhttps://github.com/NVIDIA/cuda-python/pull/3220
Reloadhttps://github.com/NVIDIA/cuda-python/pull/3220
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
mangeshraut712https://github.com/mangeshraut712
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
mangeshraut712:fix/multi-gpu-visible-deviceshttps://github.com/mangeshraut712/cuda-python/tree/fix/multi-gpu-visible-devices
Conversationhttps://github.com/NVIDIA/cuda-python/pull/3220
Commits4 (4)https://github.com/NVIDIA/cuda-python/pull/3220/commits
Checkshttps://github.com/NVIDIA/cuda-python/pull/3220/checks
Files changedhttps://github.com/NVIDIA/cuda-python/pull/3220/files
fix(samples): respect CUDA_VISIBLE_DEVICES in multi-GPU cuda.core sampleshttps://github.com/NVIDIA/cuda-python/pull/3220#top
mangeshraut712https://github.com/mangeshraut712
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
mangeshraut712:fix/multi-gpu-visible-deviceshttps://github.com/mangeshraut712/cuda-python/tree/fix/multi-gpu-visible-devices
https://github.com/mangeshraut712
mangeshraut712https://github.com/mangeshraut712
Oct 25, 2026https://github.com/NVIDIA/cuda-python/pull/3220#issue-6029709773
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
#3215https://github.com/NVIDIA/cuda-python/issues/3215
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
https://github.com/mangeshraut712
fix(samples): respect CUDA_VISIBLE_DEVICES in multi-GPU cuda.core sam…https://github.com/NVIDIA/cuda-python/pull/3220/commits/b462a85c70f6184c928a21dff11a19f50bd49d91
b462a85https://github.com/NVIDIA/cuda-python/pull/3220/commits/b462a85c70f6184c928a21dff11a19f50bd49d91
https://github.com/apps/copy-pr-bot
copy-pr-bothttps://github.com/apps/copy-pr-bot
Oct 25, 2026https://github.com/NVIDIA/cuda-python/pull/3220#issuecomment-6403761776
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/3220
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 25, 2026https://github.com/NVIDIA/cuda-python/pull/3220#issuecomment-6403762977
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
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
Oct 25, 2026https://github.com/NVIDIA/cuda-python/pull/3220#event-34205977185
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Oct 25, 2026https://github.com/NVIDIA/cuda-python/pull/3220#issuecomment-6403852008
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
https://app.coderabbit.ai/change-stack/NVIDIA/cuda-python/pull/3220?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&cs_source=review_comment
NVIDIA/cuda-pythonhttps://github.com/NVIDIA/cuda-python
mainhttps://github.com/NVIDIA/cuda-python/tree/main
.coderabbit.yamlhttps://github.com/NVIDIA/cuda-python/blob/94625c1a33402bab45f244a8fee9edae6c2958d0/.coderabbit.yaml
94625c1https://github.com/NVIDIA/cuda-python/commit/94625c1a33402bab45f244a8fee9edae6c2958d0
0f1192ahttps://github.com/NVIDIA/cuda-python/commit/0f1192a1f822e429ec7ccc7d7276438aed59daa0
decf58dhttps://github.com/NVIDIA/cuda-python/commit/decf58d608ef369528e5d97687bf944c493c2214
NVIDIA/cuda-python#3198https://github.com/NVIDIA/cuda-python/pull/3198
NVIDIA/cuda-python#3126https://github.com/NVIDIA/cuda-python/pull/3126
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
https://github.com/mangeshraut712
Format sample verification testhttps://github.com/NVIDIA/cuda-python/pull/3220/commits/10d7010f6a23b7c287995cdfc84b565dee25eb94
10d7010https://github.com/NVIDIA/cuda-python/pull/3220/commits/10d7010f6a23b7c287995cdfc84b565dee25eb94
https://github.com/mangeshraut712
mangeshraut712https://github.com/mangeshraut712
Oct 26, 2026https://github.com/NVIDIA/cuda-python/pull/3220#issuecomment-6405663687
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
https://github.com/mangeshraut712
Merge branch 'main' into fix/multi-gpu-visible-deviceshttps://github.com/NVIDIA/cuda-python/pull/3220/commits/0f1192a1f822e429ec7ccc7d7276438aed59daa0
0f1192ahttps://github.com/NVIDIA/cuda-python/pull/3220/commits/0f1192a1f822e429ec7ccc7d7276438aed59daa0
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Oct 27, 2026 https://github.com/NVIDIA/cuda-python/pull/3220#pullrequestreview-5662682793
View reviewed changes https://github.com/NVIDIA/cuda-python/pull/3220/files/0f1192a1f822e429ec7ccc7d7276438aed59daa0
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/NVIDIA/cuda-python/pull/3220#pullrequestreview-5662682793
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
NVIDIA/cuda-pythonhttps://github.com/NVIDIA/cuda-python
mainhttps://github.com/NVIDIA/cuda-python/tree/main
.coderabbit.yamlhttps://github.com/NVIDIA/cuda-python/blob/590a8bfb7bb682526103676d09c14ff1632bd4f7/.coderabbit.yaml
590a8bfhttps://github.com/NVIDIA/cuda-python/commit/590a8bfb7bb682526103676d09c14ff1632bd4f7
10d7010https://github.com/NVIDIA/cuda-python/commit/10d7010f6a23b7c287995cdfc84b565dee25eb94
0f1192ahttps://github.com/NVIDIA/cuda-python/commit/0f1192a1f822e429ec7ccc7d7276438aed59daa0
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
https://github.com/mangeshraut712
Merge branch 'main' into fix/multi-gpu-visible-deviceshttps://github.com/NVIDIA/cuda-python/pull/3220/commits/decf58d608ef369528e5d97687bf944c493c2214
decf58dhttps://github.com/NVIDIA/cuda-python/pull/3220/commits/decf58d608ef369528e5d97687bf944c493c2214
https://github.com/mangeshraut712
https://github.com/apps/chatgpt-codex-connector
mangeshraut712https://github.com/mangeshraut712
Oct 28, 2026https://github.com/NVIDIA/cuda-python/pull/3220#issuecomment-6468707151
@0z5ahttps://github.com/0z5a
#3215https://github.com/NVIDIA/cuda-python/issues/3215
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Oct 28, 2026https://github.com/NVIDIA/cuda-python/pull/3220#issuecomment-6475006720
decf58dhttps://github.com/NVIDIA/cuda-python/commit/decf58d608ef369528e5d97687bf944c493c2214
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 28, 2026https://github.com/NVIDIA/cuda-python/pull/3220#issuecomment-6475508924
https://nvidia.github.io/cuda-python/pr-preview/pr-3220/https://nvidia.github.io/cuda-python/pr-preview/pr-3220/
https://nvidia.github.io/cuda-python/pr-preview/pr-3220/cuda-core/https://nvidia.github.io/cuda-python/pr-preview/pr-3220/cuda-core/
https://nvidia.github.io/cuda-python/pr-preview/pr-3220/cuda-bindings/https://nvidia.github.io/cuda-python/pr-preview/pr-3220/cuda-bindings/
https://nvidia.github.io/cuda-python/pr-preview/pr-3220/cuda-pathfinder/https://nvidia.github.io/cuda-python/pr-preview/pr-3220/cuda-pathfinder/
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Oct 28, 2026https://github.com/NVIDIA/cuda-python/pull/3220#event-34505525647
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
cuda.core 1.3.0https://github.com/NVIDIA/cuda-python/milestone/52
Oct 28, 2026https://github.com/NVIDIA/cuda-python/pull/3220#event-34507359901
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
bug https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Abug
P2 https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3AP2
Oct 28, 2026https://github.com/NVIDIA/cuda-python/pull/3220#event-34507360002
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Oct 28, 2026 https://github.com/NVIDIA/cuda-python/pull/3220#pullrequestreview-5689002137
View reviewed changes https://github.com/NVIDIA/cuda-python/pull/3220/files/decf58d608ef369528e5d97687bf944c493c2214
Andy-Josthttps://github.com/Andy-Jost
https://github.com/NVIDIA/cuda-python/pull/3220#pullrequestreview-5689002137
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Oct 28, 2026https://github.com/NVIDIA/cuda-python/pull/3220#issuecomment-6479417726
@0z5ahttps://github.com/0z5a
#3215https://github.com/NVIDIA/cuda-python/issues/3215
@0z5ahttps://github.com/0z5a
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
https://github.com/0z5a
0z5ahttps://github.com/0z5a
Oct 29, 2026 https://github.com/NVIDIA/cuda-python/pull/3220#ref-pullrequest-6097678525
fix(samples): count CUDA-visible devices in multi-GPU examples #3277 https://github.com/NVIDIA/cuda-python/pull/3277
https://github.com/0z5a
0z5ahttps://github.com/0z5a
Oct 29, 2026https://github.com/NVIDIA/cuda-python/pull/3220#issuecomment-6494318248
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
#3215https://github.com/NVIDIA/cuda-python/issues/3215
#3277https://github.com/NVIDIA/cuda-python/pull/3277
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Oct 30, 2026https://github.com/NVIDIA/cuda-python/pull/3220#issuecomment-6533488962
@mangeshraut712https://github.com/mangeshraut712
@0z5ahttps://github.com/0z5a
#3215https://github.com/NVIDIA/cuda-python/issues/3215
#3277https://github.com/NVIDIA/cuda-python/pull/3277
#3277https://github.com/NVIDIA/cuda-python/pull/3277
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Oct 30, 2026https://github.com/NVIDIA/cuda-python/pull/3220#event-34732742361
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%2F3220
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/NVIDIA/cuda-python/pull/3220/files/0f1192a1f822e429ec7ccc7d7276438aed59daa0
https://github.com/Andy-Jost
Andy-Jost https://github.com/Andy-Jost
https://github.com/NVIDIA/cuda-python/pull/3220/files/decf58d608ef369528e5d97687bf944c493c2214
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
https://github.com/Andy-Jost
Andy-Jost https://github.com/Andy-Jost
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
P2 https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3AP2
cuda.core 1.3.0 https://github.com/NVIDIA/cuda-python/milestone/52
[BUG]: multi-GPU cuda.core samples take the CUDA device count from NVML and break under CUDA_VISIBLE_DEVICES https://github.com/NVIDIA/cuda-python/issues/3215
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/3220
https://github.com/mangeshraut712
https://github.com/Andy-Jost
https://github.com/0z5a
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.