Skip to content

Commit

Permalink
feat(gpu-ffi): add bindings for the distribute function in bellman-cu…
Browse files Browse the repository at this point in the history
…da (#22)

# What ❔

This PR adds bindings for the distribute function added in
matter-labs/era-bellman-cuda#14
  • Loading branch information
robik75 authored Sep 8, 2024
1 parent f5471ba commit a099924
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion crates/gpu-ffi/src/bindings.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* automatically generated by rust-bindgen 0.59.2 */

pub const __bool_true_false_are_defined: u32 = 1;
pub const true_: u32 = 1;
pub const false_: u32 = 0;
pub const __bool_true_false_are_defined: u32 = 1;
pub type size_t = ::std::os::raw::c_ulong;
pub type wchar_t = ::std::os::raw::c_int;
#[repr(C)]
Expand Down Expand Up @@ -1037,6 +1037,15 @@ extern "C" {
stream: bc_stream,
) -> bc_error;
}
extern "C" {
pub fn pn_distribute_values(
src: *const ::std::os::raw::c_void,
dst: *mut ::std::os::raw::c_void,
count: ::std::os::raw::c_uint,
stride: ::std::os::raw::c_uint,
stream: bc_stream,
) -> bc_error;
}
extern "C" {
pub fn pn_tear_down() -> bc_error;
}
Expand Down

0 comments on commit a099924

Please sign in to comment.