Closed doraemonho closed 1 year ago
Hi @diehlpk , may I know any update on this?
Sorry, I was at conferences and just saw the pull request. I will have a look next week.
I will definitely mention the new Julia code in my talk.
@diehlpk Thanks for checking! I just make changes according to your comment. Let me know if I miss anything
Hi,
Just make some changes to the Julia implementation. I choose the create a new jl file as I heavily change the code structure with 2 different approaches, while the performances are similar.
The new implementation should now more align with the julia's standard coding style and more importantly, improving the performance of Julia by an order of magnitude. Now Julia should be concise (<30 lines of main code) and comparable to the performance of C++. The following plot is performed under NERSC's Perlmutter CPU node with
julia. 1.9.0-rc2
Changes are:
benchmark
functionwork
function 2.1 Polyester's approach to compute the heat equation (New_heat2.jl
) 2.2 FastBroadcast's approach to compute the heat equation (New_heat.jl
)