ggml_gallocr_get_buffer_size function

  1. @Native<Size Function(ggml_gallocr_t, Int)>(ggml_gallocr_t, ffi.Int)>()
int ggml_gallocr_get_buffer_size(
  1. ggml_gallocr_t galloc,
  2. int buffer_id
)

Implementation

@ffi.Native<ffi.Size Function(ggml_gallocr_t, ffi.Int)>()
external int ggml_gallocr_get_buffer_size(
  ggml_gallocr_t galloc,
  int buffer_id,
);