Skip to content

Commit

Permalink
removed GGML_TASK_FINALIZE: resolve issue 284
Browse files Browse the repository at this point in the history
  • Loading branch information
mqy committed Jun 26, 2023
1 parent c824d2e commit e7f538d
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 144 deletions.
2 changes: 1 addition & 1 deletion ggml-cuda.cu
Original file line number Diff line number Diff line change
Expand Up @@ -2982,7 +2982,7 @@ bool ggml_cuda_compute_forward(struct ggml_compute_params * params, struct ggml_
if (params->ith != 0) {
return true;
}
if (params->type == GGML_TASK_INIT || params->type == GGML_TASK_FINALIZE) {
if (params->type == GGML_TASK_INIT) {
return true;
}
func(tensor->src0, tensor->src1, tensor);
Expand Down
Loading

0 comments on commit e7f538d

Please sign in to comment.