Skip to content

Commit

Permalink
ci: fix macos test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
For-Chance committed Sep 26, 2024
1 parent b84c459 commit 859278a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
38 changes: 22 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,27 +184,33 @@ $ cmake --build "DESTINATION_SHARED_DIR" --config Release --target install

### Demo2d

<div align="center">
<div style="display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 800px; margin: auto;">
<img src="./demo/img/demo2d_1.gif" style="width: 100%; height: auto;" />
<img src="./demo/img/demo2d_2.gif" style="width: 100%; height: auto;" />
<img src="./demo/img/demo2d_3.gif" style="width: 100%; height: auto;" />
<img src="./demo/img/demo2d_4.gif" style="width: 100%; height: auto;" />
<img src="./demo/img/demo2d_5.gif" style="width: 100%; height: auto;" />
<img src="./demo/img/demo2d_6.gif" style="width: 100%; height: auto;" />
<img src="./demo/img/demo2d_7.gif" style="width: 100%; height: auto;" />
</div>
</div>
<table align="center">
<tr>
<td><img src="./demo/img/demo2d_1.gif" style="width: 100%; height: auto;" /></td>
<td><img src="./demo/img/demo2d_2.gif" style="width: 100%; height: auto;" /></td>
<td><img src="./demo/img/demo2d_3.gif" style="width: 100%; height: auto;" /></td>
<td><img src="./demo/img/demo2d_4.gif" style="width: 100%; height: auto;" /></td>
</tr>
<tr>
<td><img src="./demo/img/demo2d_5.gif" style="width: 100%; height: auto;" /></td>
<td><img src="./demo/img/demo2d_6.gif" style="width: 100%; height: auto;" /></td>
<td><img src="./demo/img/demo2d_7.gif" style="width: 100%; height: auto;" /></td>
<td></td>
</tr>
</table>

### MassSpring3D

CUDA can be used to accelerate the simulation of mass spring system.

<div align="center">
<div style="display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 800px; margin: auto;">
<img src="./demo/img/MassSpring3D_1.gif" style="width: 100%; height: auto;" />
</div>
</div>
<table align="center">
<tr>
<td><img src="./demo/img/MassSpring3D_1.gif" style="width: 100%; height: auto;" /></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion test/system_test/MassSpring3D/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ file(GLOB cuda_source_files
"cusparse_cholesky_solver.cpp"
"cusparse_wrapper.cpp"
)

set(GLEW_USE_STATIC_LIBS ON)

if(CUDAToolkit_FOUND)
message(STATUS "CUDAToolkit found, compiling with CUDA support")
Expand Down

0 comments on commit 859278a

Please sign in to comment.