ggml_gallocr_new_n function

  1. @Native<ggml_gallocr_t Function(Pointer<ggml_backend_buffer_type_t>, Int)>(ffi.Pointer<ggml_backend_buffer_type_t>, ffi.Int)>()
ggml_gallocr_t ggml_gallocr_new_n(
  1. Pointer<ggml_backend_buffer_type_t> bufts,
  2. int n_bufs
)

Implementation

@ffi.Native<
  ggml_gallocr_t Function(ffi.Pointer<ggml_backend_buffer_type_t>, ffi.Int)
>()
external ggml_gallocr_t ggml_gallocr_new_n(
  ffi.Pointer<ggml_backend_buffer_type_t> bufts,
  int n_bufs,
);