SWDEV-305894 - Cooperative groups grid and multi grid sync support for gfx940+
Change-Id: I35d72f1cb50c3a96eee56a612b72d641852b145f
This commit is contained in:
committed by
Sourabh Betigeri
parent
3296dd8636
commit
5d7f3f9f3c
@@ -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