Title: [FEA]: Make `Linker.backend` a `classmethod` · Issue #714 · NVIDIA/cuda-python · GitHub
Open Graph Title: [FEA]: Make `Linker.backend` a `classmethod` · Issue #714 · NVIDIA/cuda-python
X Title: [FEA]: Make `Linker.backend` a `classmethod` · Issue #714 · NVIDIA/cuda-python
Description: Is this a duplicate? I confirmed there appear to be no duplicate issues for this request and that I agree to the Code of Conduct Area cuda.core Is your feature request related to a problem? Please describe. Linker fully abstracts the lin...
Open Graph Description: Is this a duplicate? I confirmed there appear to be no duplicate issues for this request and that I agree to the Code of Conduct Area cuda.core Is your feature request related to a problem? Please ...
X Description: Is this a duplicate? I confirmed there appear to be no duplicate issues for this request and that I agree to the Code of Conduct Area cuda.core Is your feature request related to a problem? Please ...
Opengraph URL: https://github.com/NVIDIA/cuda-python/issues/714
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[FEA]: Make `Linker.backend` a `classmethod`","articleBody":"### Is this a duplicate?\n\n- [x] I confirmed there appear to be no [duplicate issues](https://github.com/NVIDIA/cuda-python/issues) for this request and that I agree to the [Code of Conduct](CODE_OF_CONDUCT.md)\n\n### Area\n\ncuda.core\n\n### Is your feature request related to a problem? Please describe.\n\n`Linker` fully abstracts the linking details away from the user, but in certain cases the user might need to query the backend. For example, a user linking static code might prefer to pass `ltoir` rather than `ptx` if they know `nvjitlink` is available. `Linker.backend` exposes this property but requires instantiating a `Linker` instance to query. We should make it possible to get the info without doing so. \n\n### Describe the solution you'd like\n\nI'd like `Linker.backend` to return `driver` or `nvjitlink` without instantiating the class\n\n### Describe alternatives you've considered\n\nInstantiating a LinkerOptions in a function that catches the warning\n\n### Additional context\n\nhttps://github.com/NVIDIA/numba-cuda/pull/133","author":{"url":"https://github.com/brandon-b-miller","@type":"Person","name":"brandon-b-miller"},"datePublished":"2025-06-17T22:02:25Z","url":"https://github.com/NVIDIA/cuda-python/issues/714"}
| 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:518036e4-8115-81b7-0078-6cfda34008ce |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D796:13F7CC:1A7F56:24F2F0:6AF88BAB |
| html-safe-nonce | 95ec12e0f8a46872b54aa13050feec5ee905fb844e5e741f92b9ba6783a72dbe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzk2OjEzRjdDQzoxQTdGNTY6MjRGMkYwOjZBRjg4QkFCIiwidmlzaXRvcl9pZCI6IjUwNzg0NzUwMTg4NDUzMjYyNTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bdb098d59431ab3a21516010962dac366f7f7db60af160897bccd159093d5ea8 |
| hovercard-subject-tag | issue:3154873775 |
| 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/714/issue_layout |
| twitter:image | https://opengraph.githubassets.com/49ffbe3fcf4680c3efd2b05929129092d58df11351d2504eeeb85eebbd3d3e42/NVIDIA/cuda-python/issues/714 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/49ffbe3fcf4680c3efd2b05929129092d58df11351d2504eeeb85eebbd3d3e42/NVIDIA/cuda-python/issues/714 |
| og:image:alt | Is this a duplicate? I confirmed there appear to be no duplicate issues for this request and that I agree to the Code of Conduct Area cuda.core Is your feature request related to a problem? Please ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brandon-b-miller |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5713ecd83001b2f55c3509fb7a292bf7d66d0f167c7ae87a9f7eaec5a52bf8db |
| 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 | 653be32ff5c755082a4db662491bfbbcfc9112c1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width