Skip to content

Commit

Permalink
docs: update demo imgs
Browse files Browse the repository at this point in the history
  • Loading branch information
For-Chance committed Sep 29, 2024
1 parent c1dbd8f commit 1645fa4
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,12 @@ $ cmake --build "DESTINATION_SHARED_DIR" --config Release --target install

### MassSpring3D

CUDA can be used to accelerate the simulation of mass spring system.
CUDA can be used to accelerate the simulation of mass spring system. The following is the comparison between the simulation without CUDA (left) and with CUDA (right, Nvidia GPU 4060Ti).

<table align="center">
<tr>
<td><img src="./demo/img/MassSpring3D_1.gif" style="width: 100%; height: auto;" /></td>
<td></td>
<td><img src="./demo/img/MassSpring3D_cuda_1.gif" style="width: 100%; height: auto;" /></td>
<td></td>
<td></td>
</tr>
Expand Down
Binary file modified demo/img/MassSpring3D_1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/img/demo2d_1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/img/demo2d_2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/img/demo2d_3.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/img/demo2d_4.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/img/demo2d_5.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/img/demo2d_6.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/img/demo2d_7.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion test/system_test/MassSpring3D/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ file(GLOB cuda_source_files
"cusparse_wrapper.cpp"
)

if(CUDAToolkit_FOUND)
# if(CUDAToolkit_FOUND)
if(0)
message(STATUS "CUDAToolkit found, compiling with CUDA support")
enable_language(CUDA)

Expand Down

0 comments on commit 1645fa4

Please sign in to comment.