mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-01 04:23:00 +08:00
fix: wa for multi ccs execution on bmg
Related-To: NEO-15771 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4133827e6f
commit
cf35f8b40e
@@ -247,7 +247,6 @@ BuiltIns *RootDeviceEnvironment::getBuiltIns() {
|
||||
}
|
||||
|
||||
void RootDeviceEnvironment::setNumberOfCcs(uint32_t numberOfCcs) {
|
||||
|
||||
hwInfo->gtSystemInfo.CCSInfo.NumberOfCCSEnabled = std::min(hwInfo->gtSystemInfo.CCSInfo.NumberOfCCSEnabled, numberOfCcs);
|
||||
limitedNumberOfCcs = true;
|
||||
if (aubCenter) {
|
||||
@@ -255,6 +254,10 @@ void RootDeviceEnvironment::setNumberOfCcs(uint32_t numberOfCcs) {
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t RootDeviceEnvironment::getNumberOfCcs() const {
|
||||
return hwInfo->gtSystemInfo.CCSInfo.NumberOfCCSEnabled;
|
||||
}
|
||||
|
||||
bool RootDeviceEnvironment::isNumberOfCcsLimited() const {
|
||||
return limitedNumberOfCcs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user