Move IFP support flag to RuntimeCapabilityTable

Remove HwHelper::isIndependentForwardProgressSupported function.

Related-To: NEO-4368

Change-Id: I97061620ee6e96c4666bb8af5f009129ff0d9175
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2020-06-18 15:07:58 +02:00
committed by sys_ocldev
parent 2930c8feba
commit fe13f0b522
17 changed files with 19 additions and 19 deletions

View File

@@ -122,13 +122,12 @@ void ClDevice::initializeCaps() {
auto supportsVme = hwInfo.capabilityTable.supportsVme;
auto supportsAdvancedVme = hwInfo.capabilityTable.supportsVme;
deviceInfo.independentForwardProgress = false;
deviceInfo.independentForwardProgress = hwInfo.capabilityTable.supportsIndependentForwardProgress;
deviceInfo.ilsWithVersion[0].name[0] = 0;
deviceInfo.ilsWithVersion[0].version = 0;
if (ocl21FeaturesEnabled) {
if (hwHelper.isIndependentForwardProgressSupported()) {
deviceInfo.independentForwardProgress = true;
if (deviceInfo.independentForwardProgress) {
deviceExtensions += "cl_khr_subgroups ";
}
@@ -466,7 +465,7 @@ void ClDevice::initializeOpenclCFeatures() {
strcpy_s(openClCFeature.name, CL_NAME_VERSION_MAX_NAME_SIZE, "__opencl_c_work_group_collective_functions");
deviceInfo.openclCFeatures.push_back(openClCFeature);
if (deviceInfo.independentForwardProgress) {
if (hwInfo.capabilityTable.supportsIndependentForwardProgress) {
strcpy_s(openClCFeature.name, CL_NAME_VERSION_MAX_NAME_SIZE, "__opencl_c_subgroups");
deviceInfo.openclCFeatures.push_back(openClCFeature);
}

View File

@@ -73,6 +73,7 @@ const RuntimeCapabilityTable EHL::capabilityTable{
false, // supportsPipes
false, // supportsOcl21Features
false, // supportsOnDemandPageFaults
false, // supportsIndependentForwardProgress
true, // hostPtrTrackingEnabled
false // levelZeroSupported
};

View File

@@ -74,6 +74,7 @@ const RuntimeCapabilityTable ICLLP::capabilityTable{
true, // supportsPipes
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
true, // supportsIndependentForwardProgress
true, // hostPtrTrackingEnabled
true // levelZeroSupported
};

View File

@@ -73,6 +73,7 @@ const RuntimeCapabilityTable LKF::capabilityTable{
false, // supportsPipes
false, // supportsOcl21Features
false, // supportsOnDemandPageFaults
false, // supportsIndependentForwardProgress
true, // hostPtrTrackingEnabled
false // levelZeroSupported
};

View File

@@ -75,6 +75,7 @@ const RuntimeCapabilityTable TGLLP::capabilityTable{
false, // supportsPipes
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
false, // supportsIndependentForwardProgress
false, // hostPtrTrackingEnabled
true // levelZeroSupported
};

View File

@@ -78,6 +78,7 @@ const RuntimeCapabilityTable BDW::capabilityTable{
true, // supportsPipes
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
true, // supportsIndependentForwardProgress
true, // hostPtrTrackingEnabled
false // levelZeroSupported
};

View File

@@ -75,6 +75,7 @@ const RuntimeCapabilityTable BXT::capabilityTable{
false, // supportsPipes
false, // supportsOcl21Features
false, // supportsOnDemandPageFaults
false, // supportsIndependentForwardProgress
true, // hostPtrTrackingEnabled
false // levelZeroSupported
};

View File

@@ -70,6 +70,7 @@ const RuntimeCapabilityTable CFL::capabilityTable{
true, // supportsPipes
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
true, // supportsIndependentForwardProgress
true, // hostPtrTrackingEnabled
true // levelZeroSupported
};

View File

@@ -70,6 +70,7 @@ const RuntimeCapabilityTable GLK::capabilityTable{
false, // supportsPipes
false, // supportsOcl21Features
false, // supportsOnDemandPageFaults
false, // supportsIndependentForwardProgress
true, // hostPtrTrackingEnabled
false // levelZeroSupported
};

View File

@@ -70,6 +70,7 @@ const RuntimeCapabilityTable KBL::capabilityTable{
true, // supportsPipes
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
true, // supportsIndependentForwardProgress
true, // hostPtrTrackingEnabled
true // levelZeroSupported
};

View File

@@ -78,6 +78,7 @@ const RuntimeCapabilityTable SKL::capabilityTable{
true, // supportsPipes
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
true, // supportsIndependentForwardProgress
true, // hostPtrTrackingEnabled
true // levelZeroSupported
};