Learn R Programming

ggmlR (version 0.6.1)

ggml_get_no_alloc: Get No Allocation Mode

Description

Check if no-allocation mode is enabled

Usage

ggml_get_no_alloc(ctx)

Value

Logical indicating if no_alloc is enabled

Arguments

ctx

GGML context

Examples

Run this code
# \donttest{
ctx <- ggml_init(1024 * 1024)
ggml_get_no_alloc(ctx)
ggml_free(ctx)
# }

Run the code above in your browser using DataLab