% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/llama.R
\name{llama_synchronize}
\alias{llama_synchronize}
\title{Synchronize asynchronous computation}
\usage{
llama_synchronize(ctx)
}
\arguments{
\item{ctx}{Context handle returned by [llama_new_context]}
}
\value{
No return value, called for side effects.
}
\description{
Blocks until all pending GPU/async operations for this context are complete.
Normally not needed — `llama_decode` and `llama_generate` are synchronous —
but useful when using low-level batch APIs in async mode.
}
