SWDEV-305894 - Cooperative groups grid and multi grid sync support for gfx940+
Change-Id: I35d72f1cb50c3a96eee56a612b72d641852b145f
[ROCm/clr commit: 5d7f3f9f3c]
This commit is contained in:
1 parent
40956fe9a7
commit
7aa958a8f7
6 files changed
+51
-22
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user