René's URL Explorer Experiment


Title: Add Cuda support by tychedelia · Pull Request #108 · processing/libprocessing · GitHub

Open Graph Title: Add Cuda support by tychedelia · Pull Request #108 · processing/libprocessing

X Title: Add Cuda support by tychedelia · Pull Request #108 · processing/libprocessing

Description: Adds support for Cuda. For the most part, this means doing some copies into external memory that can be used by Cuda and vice-versa. We expect the user to have installed Cuda (min version 11040) and are using dynamic linking. Our Python iterop is via __cuda__array__inter. Some substantive changes to the rest of the code base are the elimination of ImageTextures and GraphicsTargets. These were attempts to pipe gpu resources from the render world to the main world to make accessing gpu resources in the main world easier. We take a new approach here and instead just eagerly look up those resources in the render World and pass them as arguments to stuff as needed. To test You can run just py-run cuda.py --features="cuda" in order to test the cuda example, or open the repl with mewnala installed and call .cuda() on an image created with create_image.

Open Graph Description: Adds support for Cuda. For the most part, this means doing some copies into external memory that can be used by Cuda and vice-versa. We expect the user to have installed Cuda (min version 11040) an...

X Description: Adds support for Cuda. For the most part, this means doing some copies into external memory that can be used by Cuda and vice-versa. We expect the user to have installed Cuda (min version 11040) an...

Opengraph URL: https://github.com/processing/libprocessing/pull/108

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3330eca3-2e57-6349-7144-b09eef5367fc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBBE4:3FD786:5DEC391:81ECAA5:6A5E723C
html-safe-nonce2352c661baa9f20959a12359ebfad5a386809f0810ffa44246fefd70fa6365e2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkU0OjNGRDc4Njo1REVDMzkxOjgxRUNBQTU6NkE1RTcyM0MiLCJ2aXNpdG9yX2lkIjoiMzQyMzI1NTA4NzUwNjQyMDI4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdb132dbf70b90b845d29845d6ab864d52e7a9e64389a4525b9fd131734214ff6
hovercard-subject-tagpull_request:3499017750
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/processing/libprocessing/pull/108/files
twitter:imagehttps://avatars.githubusercontent.com/u/10366310?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/10366310?s=400&v=4
og:image:altAdds support for Cuda. For the most part, this means doing some copies into external memory that can be used by Cuda and vice-versa. We expect the user to have installed Cuda (min version 11040) an...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None71950bbe6bf7e15662b868c102fed9d1682c29a05970d9b2daa2e4dd3522c52e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/processing/libprocessing git https://github.com/processing/libprocessing.git
octolytics-dimension-user_id1617169
octolytics-dimension-user_loginprocessing
octolytics-dimension-repository_id1101329545
octolytics-dimension-repository_nwoprocessing/libprocessing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1101329545
octolytics-dimension-repository_network_root_nwoprocessing/libprocessing
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7514606601325843bc1c464d2d8bf5fe9af2c154
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/processing/libprocessing/pull/108/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprocessing%2Flibprocessing%2Fpull%2F108%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprocessing%2Flibprocessing%2Fpull%2F108%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=processing%2Flibprocessing
Reloadhttps://github.com/processing/libprocessing/pull/108/files
Reloadhttps://github.com/processing/libprocessing/pull/108/files
Reloadhttps://github.com/processing/libprocessing/pull/108/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/108/files
processing https://github.com/processing
libprocessinghttps://github.com/processing/libprocessing
Notifications https://github.com/login?return_to=%2Fprocessing%2Flibprocessing
Fork 12 https://github.com/login?return_to=%2Fprocessing%2Flibprocessing
Star 56 https://github.com/login?return_to=%2Fprocessing%2Flibprocessing
Code https://github.com/processing/libprocessing
Issues 68 https://github.com/processing/libprocessing/issues
Pull requests 2 https://github.com/processing/libprocessing/pulls
Actions https://github.com/processing/libprocessing/actions
Projects https://github.com/processing/libprocessing/projects
Wiki https://github.com/processing/libprocessing/wiki
Security and quality 0 https://github.com/processing/libprocessing/security
Insights https://github.com/processing/libprocessing/pulse
Code https://github.com/processing/libprocessing
Issues https://github.com/processing/libprocessing/issues
Pull requests https://github.com/processing/libprocessing/pulls
Actions https://github.com/processing/libprocessing/actions
Projects https://github.com/processing/libprocessing/projects
Wiki https://github.com/processing/libprocessing/wiki
Security and quality https://github.com/processing/libprocessing/security
Insights https://github.com/processing/libprocessing/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fprocessing%2Flibprocessing%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fprocessing%2Flibprocessing%2Fissues%2Fnew%2Fchoose
tychedeliahttps://github.com/tychedelia
processing:mainhttps://github.com/processing/libprocessing/tree/main
tychedelia:cudahttps://github.com/tychedelia/libprocessing/tree/cuda
Conversation 7 https://github.com/processing/libprocessing/pull/108
Commits 3 https://github.com/processing/libprocessing/pull/108/commits
Checks 4 https://github.com/processing/libprocessing/pull/108/checks
Files changed https://github.com/processing/libprocessing/pull/108/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/108/files
Add Cuda support https://github.com/processing/libprocessing/pull/108/files#top
Show all changes 3 commits https://github.com/processing/libprocessing/pull/108/files
8178ee0 Cuda. tychedelia Feb 25, 2026 https://github.com/processing/libprocessing/pull/108/commits/8178ee064c628aaa08f7b67a4bdada5fbf9206b1
e0c2bc7 Typo. tychedelia Apr 7, 2026 https://github.com/processing/libprocessing/pull/108/commits/e0c2bc73293d7146197f6e852f71dc16e65427be
9f511c2 Merge branch 'main' into cuda tychedelia Apr 22, 2026 https://github.com/processing/libprocessing/pull/108/commits/9f511c258fd1b86b07469f3ec49b2e9c8bc69dd6
Clear filters https://github.com/processing/libprocessing/pull/108/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/108/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/108/files
Cargo.lock https://github.com/processing/libprocessing/pull/108/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e
Cargo.toml https://github.com/processing/libprocessing/pull/108/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
error.rs https://github.com/processing/libprocessing/pull/108/files#diff-c6f0389a4e3666a6acb809897c576174422674fadb3ac68cf8181a2d7baa3814
Cargo.toml https://github.com/processing/libprocessing/pull/108/files#diff-cfa23ef75557663f11e58e844eecfd292ad3243390146034e69a87795d6b056a
lib.rs https://github.com/processing/libprocessing/pull/108/files#diff-9054f2b96cf7441c914930e6cb6b9f22fb26c4de6758bc8a359d3fc5fed2a635
Cargo.toml https://github.com/processing/libprocessing/pull/108/files#diff-71a2ee83f3044f498c555a970245b73c09cffa984953979abd73f2d951970035
cuda.py https://github.com/processing/libprocessing/pull/108/files#diff-4950534c2d019251ba6ca81283bcb49126705431fb978d11c6af7f7b64e22f89
pyproject.toml https://github.com/processing/libprocessing/pull/108/files#diff-6bdaf5d5fceb45800280efee08dd82fd436ca5748a201c20c92f49a168c8cada
cuda.rs https://github.com/processing/libprocessing/pull/108/files#diff-fd1bb18bf51c6f579ec69ce3d65c52fe11192ee77d7bd77099128c35b335ca7b
graphics.rs https://github.com/processing/libprocessing/pull/108/files#diff-5e646152af1601f4260e98e1ca6b71ba58553e0507e4d0ebc4eb72bbe2bd27a2
lib.rs https://github.com/processing/libprocessing/pull/108/files#diff-1ec2585043fa3ad733b06c34ed1af0c9938bdca17c75f4066e5e8fadecfc540c
graphics.rs https://github.com/processing/libprocessing/pull/108/files#diff-e2cd693c3c9b99e41cf96c4943ae2064d4d5fa5f929be4fcdbcdc71f5f49f910
image.rs https://github.com/processing/libprocessing/pull/108/files#diff-a25872e5dc234b72904a011d84ac8b62cb95252a301ba6577c6d388fdf1c0928
lib.rs https://github.com/processing/libprocessing/pull/108/files#diff-3a676e70510cf46e1ceca32379dff6cb444fc4c05c436b673adc97312aa9e2f4
surface.rs https://github.com/processing/libprocessing/pull/108/files#diff-da93b94f99113fe7d78abe16cd9f4c9668c404b428166af572634fb4436a5763
justfile https://github.com/processing/libprocessing/pull/108/files#diff-deb9bb56fb122db0b605aa5b63f95a4665c905b18dd670e1fa6c877576a94ff1
lib.rs https://github.com/processing/libprocessing/pull/108/files#diff-b1a35a68f14e696205874893c07fd24fdb88882b47c23cc0e0c80a30c7d53759
Cargo.lockhttps://github.com/processing/libprocessing/pull/108/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e
View file https://github.com/tychedelia/libprocessing/blob/9f511c258fd1b86b07469f3ec49b2e9c8bc69dd6/Cargo.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/processing/libprocessing/pull/108/files
Cargo.tomlhttps://github.com/processing/libprocessing/pull/108/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
View file https://github.com/tychedelia/libprocessing/blob/9f511c258fd1b86b07469f3ec49b2e9c8bc69dd6/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/108/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/108/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
https://github.com/processing/libprocessing/pull/108/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
https://github.com/processing/libprocessing/pull/108/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
https://github.com/processing/libprocessing/pull/108/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
crates/processing_core/src/error.rshttps://github.com/processing/libprocessing/pull/108/files#diff-c6f0389a4e3666a6acb809897c576174422674fadb3ac68cf8181a2d7baa3814
View file https://github.com/tychedelia/libprocessing/blob/9f511c258fd1b86b07469f3ec49b2e9c8bc69dd6/crates/processing_core/src/error.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/108/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/108/files#diff-c6f0389a4e3666a6acb809897c576174422674fadb3ac68cf8181a2d7baa3814
crates/processing_cuda/Cargo.tomlhttps://github.com/processing/libprocessing/pull/108/files#diff-cfa23ef75557663f11e58e844eecfd292ad3243390146034e69a87795d6b056a
View file https://github.com/tychedelia/libprocessing/blob/9f511c258fd1b86b07469f3ec49b2e9c8bc69dd6/crates/processing_cuda/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/108/{{ revealButtonHref }}
crates/processing_cuda/src/lib.rshttps://github.com/processing/libprocessing/pull/108/files#diff-9054f2b96cf7441c914930e6cb6b9f22fb26c4de6758bc8a359d3fc5fed2a635
View file https://github.com/tychedelia/libprocessing/blob/9f511c258fd1b86b07469f3ec49b2e9c8bc69dd6/crates/processing_cuda/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/108/{{ revealButtonHref }}
crates/processing_pyo3/Cargo.tomlhttps://github.com/processing/libprocessing/pull/108/files#diff-71a2ee83f3044f498c555a970245b73c09cffa984953979abd73f2d951970035
View file https://github.com/tychedelia/libprocessing/blob/9f511c258fd1b86b07469f3ec49b2e9c8bc69dd6/crates/processing_pyo3/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/108/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/108/files#diff-71a2ee83f3044f498c555a970245b73c09cffa984953979abd73f2d951970035
Please reload this pagehttps://github.com/processing/libprocessing/pull/108/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/108/files
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.