aboutsummaryrefslogtreecommitdiffhomepage
path: root/hip_runtime-sys/README
diff options
context:
space:
mode:
Diffstat (limited to 'hip_runtime-sys/README')
-rw-r--r--hip_runtime-sys/README2
1 files changed, 2 insertions, 0 deletions
diff --git a/hip_runtime-sys/README b/hip_runtime-sys/README
new file mode 100644
index 0000000..becea45
--- /dev/null
+++ b/hip_runtime-sys/README
@@ -0,0 +1,2 @@
+bindgen include/hip_runtime_api.h -o src/hip_runtime_api.rs --no-layout-tests --size_t-is-usize --default-enum-style=newtype --whitelist-function "hip.*" --whitelist-type "hip.*" -- -I/opt/rocm/include
+sed -i 's/pub struct hipError_t/#[must_use]\npub struct hipError_t/g' src/hip_runtime_api.rs