mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user