Title: RFC: Statically link to cudart · Issue #100 · NVIDIA/cuda-python · GitHub
Open Graph Title: RFC: Statically link to cudart · Issue #100 · NVIDIA/cuda-python
X Title: RFC: Statically link to cudart · Issue #100 · NVIDIA/cuda-python
Description: Currently CUDA Python has a Cython-based reimplementation of CUDA runtime on top of the CUDA driver APIs. This is significant effort in terms of maintenance, requiring a lot of engineering time, as we have to catch up with every new cuda...
Open Graph Description: Currently CUDA Python has a Cython-based reimplementation of CUDA runtime on top of the CUDA driver APIs. This is significant effort in terms of maintenance, requiring a lot of engineering time, as...
X Description: Currently CUDA Python has a Cython-based reimplementation of CUDA runtime on top of the CUDA driver APIs. This is significant effort in terms of maintenance, requiring a lot of engineering time, as...
Opengraph URL: https://github.com/NVIDIA/cuda-python/issues/100
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RFC: Statically link to cudart","articleBody":"Currently CUDA Python has a Cython-based reimplementation of CUDA runtime on top of the CUDA driver APIs. This is significant effort in terms of maintenance, requiring a lot of engineering time, as we have to catch up with every new cudart APIs indefinitely. \n\nThis RFC reflects the team's plan that we will switch to statically linking to cudart on all platforms (Linux & Windows) instead, starting from the next CUDA major release. That is, for `cuda-python` X.Y.Z we statically link to `libcudart_static.a` on Linux (or `cudart_static.lib` on Windows) from CUDA Toolkit X.Y.Z.\n\nBy doing this, the benefits include:\n- We can remove tens of thousands of lines of Cython code\n- We can avoid chasing indefinitely after latest cudart APIs\n- We can avoid potential possibilities of misaligned reimplementation, in favor of directly using the \"official\" cudart implementation\n- We can reduce significantly the build time of cuda-python wheels and conda packages\n- We continue offering CUDA minor version compatibility as well as all other functionalities and expectations that the current implementation offers, e.g.\n - We align with the expectation of normal CUDA applications compiled by NVCC that cudart is statically linked into the executable\n - Additional context: https://github.com/NVIDIA/cuda-python/issues/16#issuecomment-1774395711\n\nPlease let us know if this could be a concern to your project, as we do not anticipate any issue or any user-visible effects. Thanks!","author":{"url":"https://github.com/leofang","@type":"Person","name":"leofang"},"datePublished":"2024-09-11T03:10:02Z","url":"https://github.com/NVIDIA/cuda-python/issues/100"}
| react-profiling | 0 |
| react-import-map | react,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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fe0b0283-3443-7611-f78c-5329ecb8e588 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D94A:2F5FB1:14BB7E7:1B3E72A:6AF88E70 |
| html-safe-nonce | 2af10866bb32004efea0253311b67f74d82a1aead8fa1a521461caf4ea0325b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTRBOjJGNUZCMToxNEJCN0U3OjFCM0U3MkE6NkFGODhFNzAiLCJ2aXNpdG9yX2lkIjoiODkyODQyNzExMjQ5MDYzNDg2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 58e708654f099d78814d3815f31be43e8b76fc9024e8911a2fef469f61bccebb |
| hovercard-subject-tag | issue:2518354573 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/NVIDIA/cuda-python/100/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6d9ea8dd3845b8035d34d2f863a98e26ed6e42acaf0d6493d4a837f91be772a1/NVIDIA/cuda-python/issues/100 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6d9ea8dd3845b8035d34d2f863a98e26ed6e42acaf0d6493d4a837f91be772a1/NVIDIA/cuda-python/issues/100 |
| og:image:alt | Currently CUDA Python has a Cython-based reimplementation of CUDA runtime on top of the CUDA driver APIs. This is significant effort in terms of maintenance, requiring a lot of engineering time, as... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | leofang |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/NVIDIA/cuda-python git https://github.com/NVIDIA/cuda-python.git |
| octolytics-dimension-user_id | 1728152 |
| octolytics-dimension-user_login | NVIDIA |
| octolytics-dimension-repository_id | 381173759 |
| octolytics-dimension-repository_nwo | NVIDIA/cuda-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 381173759 |
| octolytics-dimension-repository_network_root_nwo | NVIDIA/cuda-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width