mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 15:12:56 +08:00
Disable cl_khr_subgroups extension on gen12.
Resolves: NEO-3622 Change-Id: Iaf94e262c8342c70c1b8c0f966020b3159a3cccf Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
ae8e83b900
commit
f99aaf4795
@@ -116,9 +116,14 @@ void ClDevice::initializeCaps() {
|
||||
auto supportsVme = hwInfo.capabilityTable.supportsVme;
|
||||
auto supportsAdvancedVme = hwInfo.capabilityTable.supportsVme;
|
||||
|
||||
deviceInfo.independentForwardProgress = false;
|
||||
|
||||
if (enabledClVersion >= 21) {
|
||||
deviceInfo.independentForwardProgress = true;
|
||||
deviceExtensions += "cl_khr_subgroups ";
|
||||
if (hwHelper.isIndependentForwardProgressSupported()) {
|
||||
deviceInfo.independentForwardProgress = true;
|
||||
deviceExtensions += "cl_khr_subgroups ";
|
||||
}
|
||||
|
||||
deviceExtensions += "cl_khr_il_program ";
|
||||
if (supportsVme) {
|
||||
deviceExtensions += "cl_intel_spirv_device_side_avc_motion_estimation ";
|
||||
@@ -128,8 +133,6 @@ void ClDevice::initializeCaps() {
|
||||
}
|
||||
deviceExtensions += "cl_intel_spirv_subgroups ";
|
||||
deviceExtensions += "cl_khr_spirv_no_integer_wrap_decoration ";
|
||||
} else {
|
||||
deviceInfo.independentForwardProgress = false;
|
||||
}
|
||||
|
||||
if (enabledClVersion >= 20) {
|
||||
|
||||
@@ -150,6 +150,11 @@ std::string HwHelperHw<Family>::getExtensions() const {
|
||||
return "cl_intel_subgroup_local_block_io ";
|
||||
}
|
||||
|
||||
template <>
|
||||
bool HwHelperHw<Family>::isIndependentForwardProgressSupported() {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
void MemorySynchronizationCommands<Family>::setExtraCacheFlushFields(Family::PIPE_CONTROL *pipeControl) {
|
||||
pipeControl->setHdcPipelineFlush(true);
|
||||
|
||||
Reference in New Issue
Block a user