aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda_blas/README
diff options
context:
space:
mode:
Diffstat (limited to 'zluda_blas/README')
-rw-r--r--zluda_blas/README2
1 files changed, 2 insertions, 0 deletions
diff --git a/zluda_blas/README b/zluda_blas/README
new file mode 100644
index 0000000..4b969fb
--- /dev/null
+++ b/zluda_blas/README
@@ -0,0 +1,2 @@
+bindgen /usr/local/cuda/targets/x86_64-linux/include/cublas.h -o src/cublas.rs --allowlist-function="^cublas.*" --size_t-is-usize --default-enum-style=newtype --no-layout-tests --no-derive-debug -- -I/usr/local/cuda/targets/x86_64-linux/include
+sed -i -e 's/extern "C" {//g' -e 's/-> cublasStatus_t;/-> cublasStatus_t { crate::unsupported()/g' -e 's/pub fn /#[no_mangle] pub extern "system" fn /g' src/cublas.rs \ No newline at end of file