Przeglądaj źródła

microbenchs/prefetch_data_on_node : allow select_codelet_with_random_mode to return a pointer to the write-only codelet.

It's been impossible to use a write-only codelet since r1225. Since we no longer no why, we might as well allow the write-only codelet to be picked.
Cyril Roelandt 13 lat temu
rodzic
commit
669c29acde
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      tests/microbenchs/prefetch_data_on_node.c

+ 1 - 2
tests/microbenchs/prefetch_data_on_node.c

@@ -82,8 +82,7 @@ static struct starpu_codelet *select_codelet_with_random_mode(void)
 		case 0:
 			return &cl_r;
 		case 1:
-			return &cl_rw;
-			//return &cl_w;
+			return &cl_w;
 		case 2:
 			return &cl_rw;
 	};