ZLUDA/zluda_rtc
Seunghoon Lee 86cdab3b14
Follow-up changes of #27 (#32)
* Update README.

* Drop dead codes.

* Use addr_of.

* Update Dockerfiles.

* Disable warnings for nvrtc.

* nvrtc.
2024-07-14 16:37:39 +09:00
..
src Follow-up changes of #27 (#32) 2024-07-14 16:37:39 +09:00
Cargo.toml Implement runtime compiler. (nvrtc) 2024-02-20 22:28:58 +09:00
README Implement runtime compiler. (nvrtc) 2024-02-20 22:28:58 +09:00

bindgen include/nvrtc.h -o src/nvrtc.rs --allowlist-function="^nvrtc.*" --default-enum-style=newtype --no-layout-tests --no-derive-debug -- -Iinclude
sed -i -e 's/extern "C" {//g' -e 's/-> nvrtcResult;/-> nvrtcResult { crate::unsupported()/g' -e 's/pub fn /#[no_mangle] pub extern "system" fn /g' src/nvrtc.rs
rustfmt src/nvrtc.rs