소스 검색

memalloc: Do not test for nb_tasks_prefetch in try_to_reuse_potentially_in_use_mc

This is already tested by starpu_data_can_evict.
Samuel Thibault 4 년 전
부모
커밋
dbfa184779
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      src/datawizard/memalloc.c

+ 0 - 3
src/datawizard/memalloc.c

@@ -890,9 +890,6 @@ restart:
 		if (mc->remove_notify)
 			/* Somebody already working here, skip */
 			continue;
-		if (is_prefetch >= STARPU_TASK_PREFETCH && mc->data->per_node[node].nb_tasks_prefetch)
-			/* Do not evict something that we will reuse, just for a task prefetch */
-			continue;
 		if (mc->footprint != footprint || _starpu_data_interface_compare(handle->per_node[node].data_interface, handle->ops, mc->data->per_node[node].data_interface, mc->ops) != 1)
 			/* Not the right type of interface, skip */
 			continue;