The file src/generated.rs
was created with bindgen using the command:
# /opt/cuda/include/cblas_v2.h - the path of the cublas header
# -I /usr/lib/clang/3.7.0/include - makes sure clang headers are found; changes with clang version
### match statements are used so that only the neccessary parts are generated
# -match cublas - generates the bindings for cublas
# -l cublas - generates the link statement in the output file
# -o src/generated.rs - output to src/generated.rs
# this helps us rexport the enum instead of aliasing them