powered by
Like ggml_gallocr_new, but allocates from the given buffer type rather than the CPU default -- so a graph can be allocated in GPU memory.
ggml_gallocr_new
ggml_gallocr_new_buft(buft)
Graph allocator object (external pointer)
Buffer type (e.g. from ggml_backend_get_default_buffer_type())
ggml_backend_get_default_buffer_type()
ggml_gallocr_new, ggml_gallocr_alloc_graph
ggml_gallocr_alloc_graph