diff options
author | Andrzej Janik <[email protected]> | 2021-04-09 22:00:23 +0200 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-04-09 22:00:23 +0200 |
commit | 8393dbd6e963ee59161dbbe3447a876156bea1c3 (patch) | |
tree | 66f462e7a61110e12b7455ada47b111c46ba7d7f /zluda/README | |
parent | 9dcfb45aa2e8e970712e7207798c46236c9cf884 (diff) | |
download | ZLUDA-8393dbd6e963ee59161dbbe3447a876156bea1c3.tar.gz ZLUDA-8393dbd6e963ee59161dbbe3447a876156bea1c3.zip |
More fixes for 32bit
Diffstat (limited to 'zluda/README')
-rw-r--r-- | zluda/README | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zluda/README b/zluda/README index 089ddcd..f6d929c 100644 --- a/zluda/README +++ b/zluda/README @@ -1,3 +1,3 @@ bindgen /usr/local/cuda/include/cuda.h -o cuda.rs --whitelist-function="^cu.*" --size_t-is-usize --default-enum-style=newtype --no-layout-tests --no-doc-comments --no-derive-debug --new-type-alias "^CUdevice$|^CUdeviceptr$" -sed -i -e 's/extern "C" {//g' -e 's/-> CUresult;/-> CUresult { impl_::unsupported()/g' -e 's/pub fn /#[no_mangle] pub extern "C" fn /g' cuda.rs +sed -i -e 's/extern "C" {//g' -e 's/-> CUresult;/-> CUresult { impl_::unsupported()/g' -e 's/pub fn /#[no_mangle] pub extern "system" fn /g' cuda.rs rustfmt cuda.rs
\ No newline at end of file |