Kaynağa Gözat

Make sure to have both v3 and v4 simgrid platform files, since we don't know at that point which version will be needed

Samuel Thibault 10 yıl önce
ebeveyn
işleme
b11fcecb22
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/core/perfmodel/perfmodel_bus.c

+ 1 - 1
src/core/perfmodel/perfmodel_bus.c

@@ -2405,7 +2405,7 @@ static void check_bus_platform_file(void)
 
 	res = access(path, F_OK);
 
-	if (res)
+	if (!res)
 	{
 		_starpu_simgrid_get_platform_path(3, path, sizeof(path));
 		res = access(path, F_OK);