소스 검색

fix shutdown when using cg option

Corentin Salingue 8 년 전
부모
커밋
975d60ffcf
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      examples/heat/dw_sparse_cg.c

+ 2 - 0
examples/heat/dw_sparse_cg.c

@@ -449,4 +449,6 @@ void do_conjugate_gradient(float *nzvalA, float *vecb, float *vecx, uint32_t nnz
 	starpu_cublas_init();
 	starpu_cublas_init();
 
 
 	conjugate_gradient(nzvalA, vecb, vecx, nnz, nrow, colind, rowptr);
 	conjugate_gradient(nzvalA, vecb, vecx, nnz, nrow, colind, rowptr);
+
+	starpu_shutdown();
 }
 }