Skip to content

Conversation

loiseaujc
Copy link
Contributor

@loiseaujc loiseaujc commented Sep 30, 2025

Most of the loops that could be replaced by do concurrent have been.
On my laptop, here are the timings I gets:

  • Legacy code:

    • bench01_zfft : 3.19 seconds
    • bench02_zfft : 4.10 seconds
    • bench03_dfft : 1.80 seconds
  • Do-concurrent code:

    • bench01_zfft : 2.26 seconds (1.4x speedup)
    • bench02_zfft : 2.90 seconds (1.4x speedup)
    • bench03_dfft : 1.50 seconds (1.2x speedup)

Both codes are compiled with gfortran 13.3. The speed-ups are obviously to be taken with a grain of salt. We would need to do a proper performances analysis with sequences of varying lengths. Still, it's pretty nice I believe.

ping @perazz @zoziha
PS : This PR builds upon the intent_specs one and should be merge after the latter.

@loiseaujc loiseaujc marked this pull request as draft September 30, 2025 12:28
Copy link

codecov bot commented Sep 30, 2025

Codecov Report

❌ Patch coverage is 87.64846% with 156 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@0a89cbb). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/radb5.f90 39.47% 23 Missing ⚠️
src/radf5.f90 32.35% 23 Missing ⚠️
src/passb5.f90 56.86% 22 Missing ⚠️
src/passf5.f90 56.86% 22 Missing ⚠️
src/radbg.f90 76.00% 18 Missing ⚠️
src/radfg.f90 76.00% 18 Missing ⚠️
src/passb.f90 89.09% 6 Missing ⚠️
src/passf.f90 89.09% 6 Missing ⚠️
src/cfftb1.f90 93.18% 3 Missing ⚠️
src/cfftf1.f90 93.18% 3 Missing ⚠️
... and 6 more
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #59   +/-   ##
=======================================
  Coverage        ?   82.76%           
=======================================
  Files           ?       67           
  Lines           ?     2170           
  Branches        ?      182           
=======================================
  Hits            ?     1796           
  Misses          ?      374           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@loiseaujc loiseaujc marked this pull request as ready for review September 30, 2025 12:32
loiseaujc and others added 7 commits October 1, 2025 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant