Explorar o código

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 %!s(int64=13) %!d(string=hai) anos
pai
achega
669c29acde
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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;
 	};