ZLUDA/zluda
Andrzej Janik a906c350f2
Make misc fixes (#41)
* Update ze_loader.lib to the newest version
* Export _ptsz/_ptds for which we have a legacy stream implementations
* Stop producing build logs if we are not looking at them anyway
2021-02-22 01:29:03 +01:00
..
lib Improve build procedure and instructions (#28) 2021-01-08 17:17:46 +01:00
src Make misc fixes (#41) 2021-02-22 01:29:03 +01:00
build.rs Improve build procedure and instructions (#28) 2021-01-08 17:17:46 +01:00
Cargo.toml Add a library for dumping kernels arguments before and after launch (#18) 2021-01-16 22:28:48 +01:00
README Rename everything 2020-11-23 20:01:10 +01: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 "C" fn /g' cuda.rs
rustfmt cuda.rs