Skip to content

Conversation

@grospelliergilles
Copy link
Member

The only modification is for reduction implementation.
The value warpSize is no longer a constexpr with ROCM 7. It is now a dynamic value.
We can no longer use it as a dimension for shared array.
Instead we use a template parameter with two possible values (32 or 64) for warp size. It may have an performance impact so we have to benchmark that.
This is only on ROCM 7 so it will be easy to do comparison between ROCM 6 and ROCM 7.

Avec ROCM 7, la taille d'un warp n'est plus connue à la compilation.
C'est 32 ou 64 en fonction de l'architecture et une même carte peut
supporter les 2 valeurs (les cartes RDNA). On utilise une classe template
avec la taille d'un warp comme paramètre pour gérer les deux cas.
Cela permet aussi de ne pas changer le code pour les autres plateformes.
@grospelliergilles grospelliergilles self-assigned this Sep 17, 2025
@grospelliergilles grospelliergilles added arcane Arcane Component build Build configuration arcane:accelerator Arcane Accelerator API/Runtime labels Sep 17, 2025
@codecov
Copy link

codecov bot commented Sep 17, 2025

Codecov Report

❌ Patch coverage is 25.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.51%. Comparing base (91dd45a) to head (01de579).
⚠️ Report is 7 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
arcane/src/arcane/accelerator/core/DeviceInfo.h 0.00% 1 Missing ⚠️
...ne/src/arcane/accelerator/core/ReduceMemoryImpl.cc 0.00% 1 Missing ⚠️
.../src/arcane/accelerator/core/internal/RunnerImpl.h 0.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (25.00%) is below the target coverage (50.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2212      +/-   ##
==========================================
- Coverage   71.51%   71.51%   -0.01%     
==========================================
  Files        2344     2344              
  Lines      171886   171891       +5     
  Branches    19995    19995              
==========================================
+ Hits       122930   122933       +3     
- Misses      41505    41508       +3     
+ Partials     7451     7450       -1     

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

@grospelliergilles grospelliergilles merged commit 494b8cb into main Sep 17, 2025
37 of 38 checks passed
@grospelliergilles grospelliergilles deleted the dev/gg-add-support-for-rocm7 branch September 29, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arcane:accelerator Arcane Accelerator API/Runtime arcane Arcane Component build Build configuration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant