Tailing white spaces
This commit is contained in:
parent
29a49c653e
commit
c6b1e55b54
1 changed files with 2 additions and 2 deletions
4
ggml.c
4
ggml.c
|
@ -10041,7 +10041,7 @@ static thread_ret_t ggml_graph_compute_thread(void * data) {
|
|||
|
||||
// Get supported task types (bit OR) for given forward op.
|
||||
// TODO: use static map.
|
||||
static int ggml_forward_op_tasks(enum ggml_op op) {
|
||||
static int ggml_forward_op_tasks(enum ggml_op op) {
|
||||
switch (op) {
|
||||
case GGML_OP_DUP:
|
||||
case GGML_OP_ADD:
|
||||
|
@ -10412,7 +10412,7 @@ void ggml_graph_compute(struct ggml_context * ctx, struct ggml_cgraph * cgraph)
|
|||
params.wsize = cgraph->work ? ggml_nbytes(cgraph->work) : 0;
|
||||
params.wdata = cgraph->work ? cgraph->work->data : NULL;
|
||||
ggml_compute_forward(¶ms, node);
|
||||
|
||||
|
||||
// wait for tasks done.
|
||||
if (n > 0) {
|
||||
while (state_shared->n_done != n) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue