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
This commit is contained in:
@@ -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
Block a user