Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slaren authored Apr 26, 2024
1 parent 34847ca commit 728562b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ggml-backend.c
Original file line number Diff line number Diff line change
Expand Up @@ -1780,8 +1780,7 @@ void ggml_backend_sched_free(ggml_backend_sched_t sched) {

void ggml_backend_sched_reset(ggml_backend_sched_t sched) {
// reset state for the next run
if(!sched->is_reset)
{
if (!sched->is_reset) {
size_t hash_size = sched->hash_set.size;
memset(sched->hash_set.keys, 0, sizeof(sched->hash_set.keys[0]) * hash_size); // NOLINT
memset(sched->tensor_backend_id, -1, sizeof(sched->tensor_backend_id[0]) * hash_size);
Expand Down

0 comments on commit 728562b

Please sign in to comment.