Skip to content

Commit

Permalink
darts: Fix missing setting data_not_used in push_data_not_used_yet_ra…
Browse files Browse the repository at this point in the history
…ndom_spot
  • Loading branch information
sthibaul committed Apr 11, 2024
1 parent d3d3fa8 commit 46b7d80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sched_policies/darts.c
Original file line number Diff line number Diff line change
Expand Up @@ -2797,6 +2797,7 @@ static void push_data_not_used_yet_random_spot(starpu_data_handle_t h, struct _s
_STARPU_SCHED_PRINT("%p gets 1 at is_present_in_data_not_used_yet with random push\n", h);
struct _starpu_darts_handle_user_data *hud = h->user_data;
hud->is_present_in_data_not_used_yet[gpu_id] = 1;
hud->data_not_used[gpu_id] = new_element;

if (_starpu_darts_gpu_data_not_used_list_empty(g->gpu_data))
{
Expand Down

0 comments on commit 46b7d80

Please sign in to comment.