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
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c8faa323-dbd3-b060-1f8f-d00dbe82d819 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AF84:2F3AB6:6BBFF35:9058550:6A5E0035 |
| html-safe-nonce | 7ca088c8a5f351ca5b9733bbd61087b3fac16d12d6a78ab43d15a3e720b9834d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjg0OjJGM0FCNjo2QkJGRjM1OjkwNTg1NTA6NkE1RTAwMzUiLCJ2aXNpdG9yX2lkIjoiNTIyMTQyOTY2Mzc5ODAwMTcxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c2c316ec1c06ce485340e90825a847ae6dd687f02fef2dff789a400e1f0d65ef |
| hovercard-subject-tag | pull_request:3499017750 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/processing/libprocessing/pull/108/files |
| twitter:image | https://avatars.githubusercontent.com/u/10366310?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10366310?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7c1de870f4c0eff05971cd22970403a1239a98dc1a35e52a43594f23fc4d546f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/processing/libprocessing git https://github.com/processing/libprocessing.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 1101329545 |
| octolytics-dimension-repository_nwo | processing/libprocessing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1101329545 |
| octolytics-dimension-repository_network_root_nwo | processing/libprocessing |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e90635d4b07e4a20ff548df2e2bfea2179c6a3f3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width