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);
}