SWDEV-305894 - Cooperative groups grid and multi grid sync support for gfx940+

Change-Id: I35d72f1cb50c3a96eee56a612b72d641852b145f


[ROCm/clr commit: 5d7f3f9f3c]
Ta zmiana jest zawarta w:
Sourabh Betigeri authored and Sourabh Betigeri committed 2022-12-05 16:30:30 -05:00
1 rodzic 40956fe9a7
złożenie 7aa958a8f7
6 plików zmienionych
+51 -22

Żadne pliki nie pasują do Twojego wyszukiwania

+6
Wyświetl plik
@@ -100,6 +100,8 @@ Settings::Settings() {
// Use coarse grain system memory for kernel arguments by default (to keep GPU cache)
fgs_kernel_arg_ = false;
// by default for asics < gfx940 old single grid sync path is followed
coop_sync_ = false;
}
// ================================================================================================
@@ -173,6 +175,10 @@ bool Settings::create(bool fullProfile, uint32_t gfxipMajor, uint32_t gfxipMinor
enableWave32Mode_ = GPU_ENABLE_WAVE32_MODE;
}
if (gfxipMajor >= 9 && gfxipMinor >= 4 && gfxStepping >= 0) {
coop_sync_ = true;
}
lcWavefrontSize64_ = !enableWave32Mode_;
// Override current device settings