ggml_backend_alloc_ctx_tensors: Allocate Context Tensors to Backend

View source: R/graph.R

ggml_backend_alloc_ctx_tensorsR Documentation

Allocate Context Tensors to Backend

Description

Allocates all tensors in a GGML context to a specific backend. Returns a buffer that must be freed when no longer needed.

Usage

ggml_backend_alloc_ctx_tensors(ctx, backend)

Arguments

ctx

GGML context

backend

Backend handle

Value

Backend buffer object


ggmlR documentation built on July 14, 2026, 1:08 a.m.