{"id":13809667,"url":"https://github.com/yanghaku/cuda-driver-sys","last_synced_at":"2025-05-14T08:33:05.590Z","repository":{"id":63510775,"uuid":"491571156","full_name":"yanghaku/cuda-driver-sys","owner":"yanghaku","description":"Rust binding to CUDA Driver APIs","archived":false,"fork":false,"pushed_at":"2023-08-03T09:53:45.000Z","size":282,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"cuda-122","last_synced_at":"2024-11-19T02:38:54.788Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yanghaku.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-05-12T15:32:27.000Z","updated_at":"2024-02-18T09:07:06.000Z","dependencies_parsed_at":"2024-02-24T09:15:00.938Z","dependency_job_id":"4cfa9b48-26bb-497a-b6c1-ef09811598b9","html_url":"https://github.com/yanghaku/cuda-driver-sys","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanghaku%2Fcuda-driver-sys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanghaku%2Fcuda-driver-sys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanghaku%2Fcuda-driver-sys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanghaku%2Fcuda-driver-sys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanghaku","download_url":"https://codeload.github.com/yanghaku/cuda-driver-sys/tar.gz/refs/heads/cuda-122","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254104889,"owners_count":22015558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T02:00:34.032Z","updated_at":"2025-05-14T08:33:00.581Z","avatar_url":"https://github.com/yanghaku.png","language":"Rust","funding_links":[],"categories":["Frameworks","GPU Programming"],"sub_categories":[],"readme":"# cuda-driver-sys\n\nRust binding to CUDA driver library (```libcuda.so```)\n\nThis project focuses only ```cuda driver api```, the full cuda-sys can see [```cuda-sys```]\n\n### Usage\n\n1. Just one version, such as cuda version 10.2.\n\n```toml\n[dependencies]\ncuda-driver-sys = { version = \"0.3\", git = \"https://github.com/yanghaku/cuda-driver-sys\", branch = \"cuda-102\" }\n```\n\n2. More than one version with cargo features.\n\n```toml\n[dependencies]\ncuda-driver-sys-102 = { package = \"cuda-driver-sys\", version = \"0.3\", git = \"https://github.com/yanghaku/cuda-driver-sys\", branch = \"cuda-102\", optional = true }\ncuda-driver-sys-118 = { package = \"cuda-driver-sys\", version = \"0.3\", git = \"https://github.com/yanghaku/cuda-driver-sys\", branch = \"cuda-118\", optional = true }\ncuda-driver-sys-122 = { package = \"cuda-driver-sys\", version = \"0.3\", git = \"https://github.com/yanghaku/cuda-driver-sys\", branch = \"cuda-122\", optional = true }\n\n[features]\ndefault-cuda-version = [\"cuda-122\"]\ncuda-102 = [\"cuda-driver-sys-102\"]\ncuda-118 = [\"cuda-driver-sys-118\"]\ncuda-122 = [\"cuda-driver-sys-122\"]\n```\n\n### Why start this project\n\n1. My rust project need cuda driver library and need the newest feature for cuda, but the [```cuda-sys```] only has cuda driver 10.2.\n2. We can switch cuda version dependence with cargo feature rather than change source code everytime.\n\n[```cuda-sys```]: https://github.com/rust-cuda/cuda-sys\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanghaku%2Fcuda-driver-sys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanghaku%2Fcuda-driver-sys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanghaku%2Fcuda-driver-sys/lists"}