소스 검색

Also exclude commented code in simgrid mode

Samuel Thibault 9 년 전
부모
커밋
e44bcbeef4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mpi/examples/matrix_decomposition/mpi_decomposition_matrix.c

+ 1 - 1
mpi/examples/matrix_decomposition/mpi_decomposition_matrix.c

@@ -79,8 +79,8 @@ void matrix_init(float ****bmat, int rank, int nodes, int alloc_everywhere)
 					{
 #ifndef STARPU_SIMGRID
 						(*bmat)[x][y][j +i*BLOCKSIZE] = (1.0f/(1.0f+(i+(x*BLOCKSIZE)+j+(y*BLOCKSIZE)))) + ((i+(x*BLOCKSIZE) == j+(y*BLOCKSIZE))?1.0f*size:0.0f);
-#endif
 						//mat[j +i*size] = ((i == j)?1.0f*size:0.0f);
+#endif
 					}
 				}
 			}