The file src/generated.rs was created with bindgen using build.rs
CUDA Runtime bindings
- CUDA_PATH with suffixes:
lib64orlib/x64suffix for libraryincludesuffix for headers
- pkg_config for
cudaorcudartpackages
List 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 <cuda_runtime_api.h>.
When CUDA_STATIC parameter is set bindgen will try to link statically.