% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/llama.R
\name{llama_backend_devices}
\alias{llama_backend_devices}
\title{List available backend devices}
\usage{
llama_backend_devices()
}
\value{
A data.frame with columns \code{name}, \code{description}, and
  \code{type} (one of \code{"cpu"}, \code{"gpu"}, \code{"igpu"}, \code{"accel"}).
}
\description{
Returns a data.frame of all compute devices (CPU, GPU, etc.) detected
by the ggml backend. Use device names from this list in the \code{devices}
parameter of \code{\link{llama_load_model}}.
}
\examples{
# List available compute devices and pick GPU names for llama_load_model()
devs <- llama_backend_devices()
print(devs)
gpu_names <- devs$name[devs$type == "GPU"]
}
