mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
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:
committed by
sys_ocldev
parent
2930c8feba
commit
fe13f0b522
@@ -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);
|
||||
}
|
||||
|
||||
@@ -73,6 +73,7 @@ const RuntimeCapabilityTable EHL::capabilityTable{
|
||||
false, // supportsPipes
|
||||
false, // supportsOcl21Features
|
||||
false, // supportsOnDemandPageFaults
|
||||
false, // supportsIndependentForwardProgress
|
||||
true, // hostPtrTrackingEnabled
|
||||
false // levelZeroSupported
|
||||
};
|
||||
|
||||
@@ -74,6 +74,7 @@ const RuntimeCapabilityTable ICLLP::capabilityTable{
|
||||
true, // supportsPipes
|
||||
true, // supportsOcl21Features
|
||||
false, // supportsOnDemandPageFaults
|
||||
true, // supportsIndependentForwardProgress
|
||||
true, // hostPtrTrackingEnabled
|
||||
true // levelZeroSupported
|
||||
};
|
||||
|
||||
@@ -73,6 +73,7 @@ const RuntimeCapabilityTable LKF::capabilityTable{
|
||||
false, // supportsPipes
|
||||
false, // supportsOcl21Features
|
||||
false, // supportsOnDemandPageFaults
|
||||
false, // supportsIndependentForwardProgress
|
||||
true, // hostPtrTrackingEnabled
|
||||
false // levelZeroSupported
|
||||
};
|
||||
|
||||
@@ -75,6 +75,7 @@ const RuntimeCapabilityTable TGLLP::capabilityTable{
|
||||
false, // supportsPipes
|
||||
true, // supportsOcl21Features
|
||||
false, // supportsOnDemandPageFaults
|
||||
false, // supportsIndependentForwardProgress
|
||||
false, // hostPtrTrackingEnabled
|
||||
true // levelZeroSupported
|
||||
};
|
||||
|
||||
@@ -78,6 +78,7 @@ const RuntimeCapabilityTable BDW::capabilityTable{
|
||||
true, // supportsPipes
|
||||
true, // supportsOcl21Features
|
||||
false, // supportsOnDemandPageFaults
|
||||
true, // supportsIndependentForwardProgress
|
||||
true, // hostPtrTrackingEnabled
|
||||
false // levelZeroSupported
|
||||
};
|
||||
|
||||
@@ -75,6 +75,7 @@ const RuntimeCapabilityTable BXT::capabilityTable{
|
||||
false, // supportsPipes
|
||||
false, // supportsOcl21Features
|
||||
false, // supportsOnDemandPageFaults
|
||||
false, // supportsIndependentForwardProgress
|
||||
true, // hostPtrTrackingEnabled
|
||||
false // levelZeroSupported
|
||||
};
|
||||
|
||||
@@ -70,6 +70,7 @@ const RuntimeCapabilityTable CFL::capabilityTable{
|
||||
true, // supportsPipes
|
||||
true, // supportsOcl21Features
|
||||
false, // supportsOnDemandPageFaults
|
||||
true, // supportsIndependentForwardProgress
|
||||
true, // hostPtrTrackingEnabled
|
||||
true // levelZeroSupported
|
||||
};
|
||||
|
||||
@@ -70,6 +70,7 @@ const RuntimeCapabilityTable GLK::capabilityTable{
|
||||
false, // supportsPipes
|
||||
false, // supportsOcl21Features
|
||||
false, // supportsOnDemandPageFaults
|
||||
false, // supportsIndependentForwardProgress
|
||||
true, // hostPtrTrackingEnabled
|
||||
false // levelZeroSupported
|
||||
};
|
||||
|
||||
@@ -70,6 +70,7 @@ const RuntimeCapabilityTable KBL::capabilityTable{
|
||||
true, // supportsPipes
|
||||
true, // supportsOcl21Features
|
||||
false, // supportsOnDemandPageFaults
|
||||
true, // supportsIndependentForwardProgress
|
||||
true, // hostPtrTrackingEnabled
|
||||
true // levelZeroSupported
|
||||
};
|
||||
|
||||
@@ -78,6 +78,7 @@ const RuntimeCapabilityTable SKL::capabilityTable{
|
||||
true, // supportsPipes
|
||||
true, // supportsOcl21Features
|
||||
false, // supportsOnDemandPageFaults
|
||||
true, // supportsIndependentForwardProgress
|
||||
true, // hostPtrTrackingEnabled
|
||||
true // levelZeroSupported
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user