ggml_new_buffer function

  1. @Native<Pointer<Void> Function(Pointer<ggml_context>, Size)>(ffi.Pointer<ggml_context>, ffi.Size)>()
Pointer<Void> ggml_new_buffer(
  1. Pointer<ggml_context> ctx,
  2. int nbytes
)

Implementation

@ffi.Native<
  ffi.Pointer<ffi.Void> Function(ffi.Pointer<ggml_context>, ffi.Size)
>()
external ffi.Pointer<ffi.Void> ggml_new_buffer(
  ffi.Pointer<ggml_context> ctx,
  int nbytes,
);