瀏覽代碼

Use more precise cholesky GFlops formula

Samuel Thibault 4 年之前
父節點
當前提交
35a6cdfe53
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mpi/examples/matrix_decomposition/mpi_cholesky_codelets.c

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

@@ -499,7 +499,7 @@ void dw_cholesky(float ***matA, unsigned ld, int rank, int nodes, double *timing
 	if (rank == 0)
 	{
 		*timing = end - start;
-		*flops = (1.0f*size*size*size)/3.0f;
+		*flops = FLOPS_SPOTRF(size);
 	}
 }