https://github.com/dunnock/cudart-sys
https://github.com/dunnock/cudart-sys
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dunnock/cudart-sys
- Owner: dunnock
- License: apache-2.0
- Created: 2021-06-09T14:40:53.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-14T10:08:57.000Z (almost 4 years ago)
- Last Synced: 2025-03-27T08:59:53.672Z (about 1 month ago)
- Language: Rust
- Size: 162 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
The file `src/generated.rs` was created with [bindgen](https://github.com/crabtw/rust-bindgen) using `build.rs`
CUDA Runtime bindings
# Cudart include files and library files located by following proirities:
1. CUDA_PATH with suffixes:
- `lib64` or `lib/x64` suffix for library
- `include` suffix for headers
2. pkg_config for `cuda` or `cudart` packagesList of libraries for linking can be customized via CUBLAS_LIBS env var,
by default taking `cudart.lib`Include file is defined in wrapper.h and is ``.
## Static linking
When CUDA_STATIC parameter is set bindgen will try to link statically.