ZLUDA/zluda_blas
Andrzej Janik 4a81dbffb5
Update llama.cpp support (#102)
Add sign extension support to prmt, allow set.<op>.f16x2.f16x2, add more BLAS mappings
2024-02-16 00:01:21 +01:00
..
build Nobody expects the Red Team 2024-02-11 20:45:51 +01:00
src Update llama.cpp support (#102) 2024-02-16 00:01:21 +01:00
Cargo.toml Nobody expects the Red Team 2024-02-11 20:45:51 +01:00
README Nobody expects the Red Team 2024-02-11 20:45:51 +01:00

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