Skip to content

Commit

Permalink
Deploying to gh-pages from @ 4484b6c 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
sloede committed Jul 8, 2024
1 parent c564207 commit fce908a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html> <html lang=en > <meta charset=UTF-8 > <meta name=viewport content="width=device-width, initial-scale=1"> <link rel=stylesheet href="/css/franklin.css"> <link rel=stylesheet href="/css/basic.css"> <link rel=icon href="/assets/favicon.ico"> <title>404</title> <header> <div class=blog-name ><a href="/"><img src="/assets/logo.png" width=100px ></a></div> <nav> <ul> <li><a href="/">Home</a> <li><a href="https://github.com/trixi-framework" target=_blank rel="noopener noreferrer">Trixi on GitHub</a> </ul> </nav> </header> <div class=franklin-content > <div style="margin-top: 40px; font-size: 40px; text-align: center;"> <br> <div style="font-weight: bold;"> 404 </div> <br> <br> The requested page was not found <br> <br> <br> <br> <div style="margin-bottom: 300px; font-size: 24px"> <a href="/">Click here</a> to go back to the homepage. </div> </div> <div class=page-foot > <div class=copyright > &copy; <a href="https://github.com/trixi-framework/Trixi.jl/blob/main/AUTHORS.md" target=_blank rel="noopener noreferrer">The Trixi Authors</a>. Last modified: July 02, 2024. Website built with <a href="https://github.com/tlienart/Franklin.jl">Franklin.jl</a> and the <a href="https://julialang.org">Julia programming language</a>. </div> </div> </div>
<!doctype html> <html lang=en > <meta charset=UTF-8 > <meta name=viewport content="width=device-width, initial-scale=1"> <link rel=stylesheet href="/css/franklin.css"> <link rel=stylesheet href="/css/basic.css"> <link rel=icon href="/assets/favicon.ico"> <title>404</title> <header> <div class=blog-name ><a href="/"><img src="/assets/logo.png" width=100px ></a></div> <nav> <ul> <li><a href="/">Home</a> <li><a href="https://github.com/trixi-framework" target=_blank rel="noopener noreferrer">Trixi on GitHub</a> </ul> </nav> </header> <div class=franklin-content > <div style="margin-top: 40px; font-size: 40px; text-align: center;"> <br> <div style="font-weight: bold;"> 404 </div> <br> <br> The requested page was not found <br> <br> <br> <br> <div style="margin-bottom: 300px; font-size: 24px"> <a href="/">Click here</a> to go back to the homepage. </div> </div> <div class=page-foot > <div class=copyright > &copy; <a href="https://github.com/trixi-framework/Trixi.jl/blob/main/AUTHORS.md" target=_blank rel="noopener noreferrer">The Trixi Authors</a>. Last modified: July 08, 2024. Website built with <a href="https://github.com/tlienart/Franklin.jl">Franklin.jl</a> and the <a href="https://julialang.org">Julia programming language</a>. </div> </div> </div>
4 changes: 2 additions & 2 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ version = "0.7.5"

[[ConcurrentUtilities]]
deps = ["Serialization", "Sockets"]
git-tree-sha1 = "6cbbd4d241d7e6579ab354737f4dd95ca43946e1"
git-tree-sha1 = "ea32b83ca4fefa1768dc84e504cc0a94fb1ab8d1"
uuid = "f0e56b4a-5159-44fe-b623-3e5288b988bb"
version = "2.4.1"
version = "2.4.2"

[[Dates]]
deps = ["Printf"]
Expand Down
2 changes: 1 addition & 1 deletion index.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
<span class=hljs-meta >@benchmark</span> <span class=hljs-keyword >begin</span>
sol_gpu = OrdinaryDiffEq.solve(ode_gpu, BS3(), adaptive=<span class=hljs-literal >false</span>, dt=<span class=hljs-number >0.01</span>;
abstol=<span class=hljs-number >1.0e-6</span>, reltol=<span class=hljs-number >1.0e-6</span>, ode_default_options()...)
<span class=hljs-keyword >end</span></code></pre> <p>From the benchmark results, it is shown that the GPU did not perform better than the CPU in general &#40;but there were some exceptions&#41;. Furthermore, the <code>Memory estimate</code> and <code>allocs estimate</code> statistics from the GPU are much larger than those from the CPU. This is probably due to the design that all the data transfer happens in the <code>rhs&#33;</code> function and thus the memory cost is extremely high when transferring data repeatedly between the CPU and GPU. </p> <p>In addition, the results indicate that the GPU performs better with 2D and 3D examples than with 1D examples. That is because GPUs are designed to handle a large number of parallel tasks, and 2D and 3D problems usually offer more parallelism compared to 1D problems. Essentially, the more data you can process simultaneously, the more efficiently you can utilize the GPU. 1D problems may not be complex enough to take full advantage of the GPU parallel processing capability.</p> <h2 id=future_work ><a href="#future_work" class=header-anchor >Future Work</a></h2> <p>The future work is listed here, ranging from specific to more general, from top to bottom:</p> <ol> <li><p>Resolve <a href="https://github.com/huiyuxie/trixi_cuda/issues/9">Issue #9</a> and <a href="https://github.com/huiyuxie/trixi_cuda/issues/11">Issue #11</a> &#40;and any upcoming issues&#41; </p> <li><p>Complete the prototype for the remaining kernels &#40;please refer to the Kernel to be Implemented from the <a href="https://github.com/huiyuxie/trixi_cuda/blob/main/README.md">README</a> file&#41;.</p> <li><p>Update <a href="https://github.com/trixi-framework/Trixi.jl/pull/1604">PR #1604</a> and make it merged into the repository</p> <li><p>Optimize CUDA kernels to improve performance &#40;especially data transfer, please refer to the kernel optimization part&#41;</p> <li><p>Prototype the GPU kernels for other DG solvers &#40;for example, <code>DGMulti</code>, etc.&#41;</p> <li><p>Extend the single-GPU support to multi-GPU support &#40;similarly, from single-thread to multi-thread&#41;</p> <li><p>Broaden compatibility to other GPU types beyond Nvidia &#40;such as those from Apple, Intel, and AMD&#41;</p> </ol> <h2 id=acknowledgements ><a href="#acknowledgements" class=header-anchor >Acknowledgements</a></h2> <p>I would like to express my gratitude to Google, the Julia community, and my mentors &#40;<a href="https://github.com/ranocha">Hendrik Ranocha</a>, <a href="https://github.com/sloede">Michael Schlottke-Lakemper</a>, and <a href="https://github.com/jlchan">Jesse Chan</a>&#41; for this enriching experience during the Google Summer of Code 2023 program. This opportunity to participate, enhance my skills, and contribute to the advancement of Julia has been both challenging and rewarding.</p> <p>Special thanks go to my GSoC mentor <a href="https://github.com/ranocha">Hendrik Ranocha</a> &#40;@ranocha&#41; and another person from JuliaGPU <a href="https://github.com/maleadt"> Tim Besard</a> &#40;@maleadt, though he is not my mentor&#41;, whose guidance and support throughout our regular discussions have been instrumental in answering my questions and overcoming hurdles. The Julia community is incredibly welcoming and supportive, and I am proud to have been a part of this endeavor.</p> <p>I am filled with appreciation for this fantastic summer of learning and development, and I look forward to seeing the continued growth of Julia and the contributions of its vibrant community.</p> <div class=page-foot > <div class=copyright > &copy; <a href="https://github.com/trixi-framework/Trixi.jl/blob/main/AUTHORS.md" target=_blank rel="noopener noreferrer">The Trixi Authors</a>. Last modified: July 02, 2024. Website built with <a href="https://github.com/tlienart/Franklin.jl">Franklin.jl</a> and the <a href="https://julialang.org">Julia programming language</a>. </div> </div> </div>
<span class=hljs-keyword >end</span></code></pre> <p>From the benchmark results, it is shown that the GPU did not perform better than the CPU in general &#40;but there were some exceptions&#41;. Furthermore, the <code>Memory estimate</code> and <code>allocs estimate</code> statistics from the GPU are much larger than those from the CPU. This is probably due to the design that all the data transfer happens in the <code>rhs&#33;</code> function and thus the memory cost is extremely high when transferring data repeatedly between the CPU and GPU. </p> <p>In addition, the results indicate that the GPU performs better with 2D and 3D examples than with 1D examples. That is because GPUs are designed to handle a large number of parallel tasks, and 2D and 3D problems usually offer more parallelism compared to 1D problems. Essentially, the more data you can process simultaneously, the more efficiently you can utilize the GPU. 1D problems may not be complex enough to take full advantage of the GPU parallel processing capability.</p> <h2 id=future_work ><a href="#future_work" class=header-anchor >Future Work</a></h2> <p>The future work is listed here, ranging from specific to more general, from top to bottom:</p> <ol> <li><p>Resolve <a href="https://github.com/huiyuxie/trixi_cuda/issues/9">Issue #9</a> and <a href="https://github.com/huiyuxie/trixi_cuda/issues/11">Issue #11</a> &#40;and any upcoming issues&#41; </p> <li><p>Complete the prototype for the remaining kernels &#40;please refer to the Kernel to be Implemented from the <a href="https://github.com/huiyuxie/trixi_cuda/blob/main/README.md">README</a> file&#41;.</p> <li><p>Update <a href="https://github.com/trixi-framework/Trixi.jl/pull/1604">PR #1604</a> and make it merged into the repository</p> <li><p>Optimize CUDA kernels to improve performance &#40;especially data transfer, please refer to the kernel optimization part&#41;</p> <li><p>Prototype the GPU kernels for other DG solvers &#40;for example, <code>DGMulti</code>, etc.&#41;</p> <li><p>Extend the single-GPU support to multi-GPU support &#40;similarly, from single-thread to multi-thread&#41;</p> <li><p>Broaden compatibility to other GPU types beyond Nvidia &#40;such as those from Apple, Intel, and AMD&#41;</p> </ol> <h2 id=acknowledgements ><a href="#acknowledgements" class=header-anchor >Acknowledgements</a></h2> <p>I would like to express my gratitude to Google, the Julia community, and my mentors &#40;<a href="https://github.com/ranocha">Hendrik Ranocha</a>, <a href="https://github.com/sloede">Michael Schlottke-Lakemper</a>, and <a href="https://github.com/jlchan">Jesse Chan</a>&#41; for this enriching experience during the Google Summer of Code 2023 program. This opportunity to participate, enhance my skills, and contribute to the advancement of Julia has been both challenging and rewarding.</p> <p>Special thanks go to my GSoC mentor <a href="https://github.com/ranocha">Hendrik Ranocha</a> &#40;@ranocha&#41; and another person from JuliaGPU <a href="https://github.com/maleadt"> Tim Besard</a> &#40;@maleadt, though he is not my mentor&#41;, whose guidance and support throughout our regular discussions have been instrumental in answering my questions and overcoming hurdles. The Julia community is incredibly welcoming and supportive, and I am proud to have been a part of this endeavor.</p> <p>I am filled with appreciation for this fantastic summer of learning and development, and I look forward to seeing the continued growth of Julia and the contributions of its vibrant community.</p> <div class=page-foot > <div class=copyright > &copy; <a href="https://github.com/trixi-framework/Trixi.jl/blob/main/AUTHORS.md" target=_blank rel="noopener noreferrer">The Trixi Authors</a>. Last modified: July 08, 2024. Website built with <a href="https://github.com/tlienart/Franklin.jl">Franklin.jl</a> and the <a href="https://julialang.org">Julia programming language</a>. </div> </div> </div>
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

<url>
<loc>https://trixi-framework.github.io/outreach/gsoc/2023/gpu-acceleration-in-trixi-jl-using-cuda-jl/index.html</loc>
<lastmod>2024-07-02</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>https://trixi-framework.github.io/index.html</loc>
<lastmod>2024-07-02</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url>
Expand Down

0 comments on commit fce908a

Please sign in to comment.