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
[ROCm/clr commit: f1dc81f427]
Этот коммит содержится в:
@@ -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);
|
||||
|
||||
Ссылка в новой задаче
Block a user