minor: update comments

This commit is contained in:
mqy 2023-07-03 23:58:31 +08:00
parent 2b502c32ca
commit cb1dec0ec0

3
ggml.h
View file

@ -448,8 +448,7 @@ extern "C" {
struct ggml_graph_compute_plan { struct ggml_graph_compute_plan {
// Size of work buffer, calculated by `ggml_graph_compute_make_plan()`. // Size of work buffer, calculated by `ggml_graph_compute_make_plan()`.
size_t work_size; size_t work_size;
// Worker buffer. // Work buffer, to be allocated by caller before calling to `ggml_graph_compute()`.
// Expect allocate/free by caller before/after calling to `ggml_graph_compute()`.
void * work_data; void * work_data;
int n_threads; int n_threads;