소스 검색

port r18067 from 1.2-stencils: incorrect time unit of perfmodel cost function return value

Samuel Thibault 9 년 전
부모
커밋
00acb5ff89
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tests/datawizard/locality.c

+ 2 - 2
tests/datawizard/locality.c

@@ -58,10 +58,10 @@ double cost_function(struct starpu_task *t, struct starpu_perfmodel_arch *a, uns
 	if (a->devices[0].type == STARPU_CPU_WORKER)
 	{
 		STARPU_ASSERT(a->devices[0].ncores == 1);
-		return 0.001;
+		return 1000;
 	}
 	else
-		return 0.0001;
+		return 100;
 }
 
 static struct starpu_perfmodel perf_model =