ソースを参照

tools/starpu_perfmodel_recdump.c: ignore architectures which are not present in any perfmodel

Nathalie Furmento 4 年 前
コミット
5c1daef142
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2 1
      tools/starpu_perfmodel_recdump.c

+ 2 - 1
tools/starpu_perfmodel_recdump.c

@@ -90,7 +90,8 @@ void print_archs(FILE* output)
 	{
 		struct starpu_perfmodel_arch* arch = starpu_worker_get_perf_archtype(workerid, STARPU_NMAX_SCHED_CTXS);
 		comb = starpu_perfmodel_arch_comb_get(arch->ndevices, arch->devices);
-		STARPU_ASSERT(comb >= 0);
+		if (comb < 0) continue; // Ignore architecture which is not present in any perfmodel
+
 		if(comb != old_comb)
 		{
 			if(nb_workers > 0)