浏览代码

more readable debugging

Samuel Thibault 15 年之前
父节点
当前提交
34e12b640f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mpi/examples/mpi_lu/pxlu.c

+ 2 - 2
mpi/examples/mpi_lu/pxlu.c

@@ -18,7 +18,7 @@
 #include "pxlu_kernels.h"
 
 #define MPI_TAG11(k)	((1U << 16) | (k))
-#define MPI_TAG12(k, j)	((2U << 16) | (j)<<8 | (k))
+#define MPI_TAG12(k, j)	((2U << 16) | (k)<<8 | (j))
 #define MPI_TAG21(k, i)	((3U << 16) | (i)<<8 | (k))
 
 // 11 21
@@ -625,7 +625,7 @@ static void create_task_22_real(unsigned k, unsigned i, unsigned j)
 
 	task->cl = &STARPU_PLU(cl22);
 
-	task->cl_arg = create_debug_info(k, i, j);
+	task->cl_arg = create_debug_info(i, j, k);
 
 	/* which sub-data is manipulated ? */