Skip to content

Commit

Permalink
Remove extra restrict
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarka committed Feb 5, 2024
1 parent d78857a commit 8eb6c50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/ec/cpu/ec_cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ typedef struct ucc_ec_cpu {

extern ucc_ec_cpu_t ucc_ec_cpu;

ucc_status_t ucc_ec_cpu_reduce(ucc_eee_task_reduce_t *restrict task, void * const * restrict srcs, uint16_t flags);
ucc_status_t ucc_ec_cpu_reduce(ucc_eee_task_reduce_t *task, void * const * restrict srcs, uint16_t flags);
#endif
5 changes: 2 additions & 3 deletions src/components/ec/cpu/ec_cpu_reduce.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,8 @@
} \
} while (0)

ucc_status_t ucc_ec_cpu_reduce(ucc_eee_task_reduce_t *restrict task,
void * const * restrict srcs,
uint16_t flags)
ucc_status_t ucc_ec_cpu_reduce(ucc_eee_task_reduce_t *task,
void * const * restrict srcs, uint16_t flags)
{
switch (task->dt) {
case UCC_DT_INT8:
Expand Down

0 comments on commit 8eb6c50

Please sign in to comment.