ZLUDA/zluda
2021-09-29 21:49:47 +00:00
..
lib Improve build procedure and instructions (#28) 2021-01-08 17:17:46 +01:00
src Fix shared munging pass and add fix cuModuleLoadData 2021-09-29 21:49:47 +00:00
build.rs Improve build procedure and instructions (#28) 2021-01-08 17:17:46 +01:00
Cargo.toml HIP conversion part #1 2021-08-27 23:04:52 +00:00
README More fixes for 32bit 2021-04-09 22:00:23 +02:00

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 "system" fn /g' cuda.rs
rustfmt cuda.rs