{"id":13648691,"url":"https://github.com/rust-cuda/cuda-sys","last_synced_at":"2025-04-22T11:32:56.483Z","repository":{"id":41254677,"uuid":"159014475","full_name":"rust-cuda/cuda-sys","owner":"rust-cuda","description":"Rust binding to CUDA APIs","archived":true,"fork":false,"pushed_at":"2025-03-29T06:45:42.000Z","size":384,"stargazers_count":119,"open_issues_count":17,"forks_count":24,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-29T07:27:34.301Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-cuda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-25T09:03:39.000Z","updated_at":"2025-03-29T06:52:29.000Z","dependencies_parsed_at":"2022-08-25T20:41:00.562Z","dependency_job_id":null,"html_url":"https://github.com/rust-cuda/cuda-sys","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-cuda%2Fcuda-sys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-cuda%2Fcuda-sys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-cuda%2Fcuda-sys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-cuda%2Fcuda-sys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-cuda","download_url":"https://codeload.github.com/rust-cuda/cuda-sys/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250232418,"owners_count":21396640,"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-02T01:04:27.643Z","updated_at":"2025-04-22T11:32:56.458Z","avatar_url":"https://github.com/rust-cuda.png","language":"Rust","funding_links":[],"categories":["Rust","Frameworks","GPU Programming"],"sub_categories":[],"readme":"\u003e [!WARNING]\n\u003e This repository has been archived following [the reboot of the Rust-CUDA project](https://rust-gpu.github.io/blog/2025/01/27/rust-cuda-reboot/?s=09).  \n\u003e Please use [Rust-GPU/Rust-CUDA](https://github.com/Rust-GPU/Rust-CUDA) instead.\n\ncuda-sys\n=========\n\n|name            |crate.io                                                                                               |docs.rs                                                                                   | CUDA |\n|:--------------:|:-----------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------:|:----:|\n|cuda-driver-sys |[![Crate](http://meritbadge.herokuapp.com/cuda-driver-sys)](https://crates.io/crates/cuda-driver-sys)  |[![docs.rs](https://docs.rs/cuda-driver-sys/badge.svg)](https://docs.rs/cuda-driver-sys)  | 10.2 |\n|cuda-runtime-sys|[![Crate](http://meritbadge.herokuapp.com/cuda-runtime-sys)](https://crates.io/crates/cuda-runtime-sys)|[![docs.rs](https://docs.rs/cuda-runtime-sys/badge.svg)](https://docs.rs/cuda-runtime-sys)| 10.2 |\n\nRust binding to [CUDA Driver (`libcuda.so`)](https://docs.nvidia.com/cuda/cuda-driver-api/index.html)\nand [Runtime (`libcudart.so`) APIs](https://docs.nvidia.com/cuda/cuda-runtime-api/index.html)\n\nThis crate does **NOT** include CUDA itself. You need to install on your own.\n\nCUDA Installation\n------------------\n\n- You should install CUDA from [the official installer](https://developer.nvidia.com/cuda-downloads).\n- or use [`nvidia/cuda` container](https://hub.docker.com/r/nvidia/cuda/)\n  - This container does not add `libcuda.so` to dynamic link path.\n    You need to add it to your ld path `LD_LIBRARY_PATH=/usr/local/cuda/lib64/stubs` or using `ldconfig`.\n\nCUDA_LIBRARY_PATH environment variable\n--------------------------------------\n\n- If you use system installer (e.g. `apt`, `yum`, `pacman`, and so on), the install path may be different.\n- `$CUDA_LIBRARY_PATH` (e.g. `/opt/cuda/lib64`) environment value adds paths to the list of library searching.\n  - `$CUDA_LIBRARY_PATH` is not required on Windows when CUDA is installed via [the official Windows installer](https://developer.nvidia.com/cuda-downloads).\n- To verify that cuda-sys can find your CUDA installation, you can check that the `CUDA_PATH` environment variable has been set.\n\nQ \u0026 A\n------\n\nQ. Program does not *start* (can be compiled) with following error message:\n\n```\nerror while loading shared libraries: libcuda.so.1: cannot open shared object file: No such file or directory\n```\n\nA. Driver API (`libcuda.so`) is sometimes installed in a separate directory. You need to find it, and add to `LD_LIBRARY_PATH`:\n\n```\nLD_LIBRARY_PATH=/usr/local/cuda/lib64/stubs\n```\n\nLicense\n--------\nDual-licensed to be compatible with the Rust project.\nLicensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) or the [MIT license](http://opensource.org/licenses/MIT), at your option.\nThis file may not be copied, modified, or distributed except according to those terms.\n\nYou should check the [End User License Agreement](https://docs.nvidia.com/cuda/eula/index.html),\nwhich describes NVIDIA Software License Agreement and CUDA Supplement to Software License Agreement.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-cuda%2Fcuda-sys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-cuda%2Fcuda-sys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-cuda%2Fcuda-sys/lists"}