ZLUDA/zluda
Andrzej Janik 3e2e73ac33 Add script for replaying dumped kernel (#34)
zluda_dump can already create traces of GPU execution, this script can replay those traces.
Additionally, changed added just enough code in core ZLUDA to support simple PyCUDAexecution
2021-01-23 16:57:07 +01:00
..
lib Improve build procedure and instructions (#28) 2021-01-08 17:17:46 +01:00
src Add script for replaying dumped kernel (#34) 2021-01-23 16:57:07 +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