aboutsummaryrefslogtreecommitdiffhomepage
path: root/ext/hip_runtime-sys/README
diff options
context:
space:
mode:
Diffstat (limited to 'ext/hip_runtime-sys/README')
-rw-r--r--ext/hip_runtime-sys/README1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/hip_runtime-sys/README b/ext/hip_runtime-sys/README
new file mode 100644
index 0000000..d80b30a
--- /dev/null
+++ b/ext/hip_runtime-sys/README
@@ -0,0 +1 @@
+bindgen --rust-target 1.77 /opt/rocm/include/hip/hip_runtime_api.h -o hip_runtime_api.rs --no-layout-tests --default-enum-style=newtype --allowlist-function "hip.*" --allowlist-type "hip.*" --no-derive-debug --must-use-type hipError_t --new-type-alias "^hipDeviceptr_t$" --allowlist-var "^hip.*$" -- -I/opt/rocm/include -D__HIP_PLATFORM_AMD__