SWDEV-432174 - Change the fillBuffer kernel
- Add the new fillBuffer kernel, which allows to launch a limited number of workgroups for memory fill operation - Switch fill memory to 16 bytes write by default - Allow to limit the workgroups with DEBUG_CLR_LIMIT_BLIT_WG Change-Id: Ibad1822f2d42b2fc71bcfc1917c31409c0623e8e
Ta zmiana jest zawarta w:
%! (template.HTML=
German Andryeyev)złożyło 2023-11-16 14:25:55 -04:00
1 rodzic
57cb840058
złożenie
f1dc81f427
13 plików zmienionych
+283
-214
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -769,7 +769,10 @@ bool Device::create() {
|
||||
pciDeviceId_);
|
||||
return false;
|
||||
}
|
||||
|
||||
hsaSettings->limit_blit_wg_ = info().maxComputeUnits_;
|
||||
if (!flagIsDefault(DEBUG_CLR_LIMIT_BLIT_WG)) {
|
||||
hsaSettings->limit_blit_wg_ = std::max(DEBUG_CLR_LIMIT_BLIT_WG, 0x1U);
|
||||
}
|
||||
amd::Context::Info info = {0};
|
||||
std::vector<amd::Device*> devices;
|
||||
devices.push_back(this);
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika