fix ocl/ocloc: expose cl_ext_float_atomics for OCL 2.0+

Related-To: NEO-7800
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-03-15 14:00:12 +00:00
committed by Compute-Runtime-Automation
parent 686790274d
commit e3c5cbc22f
2 changed files with 12 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ std::string CompilerProductHelperHw<gfxProduct>::getDeviceExtensions(const Hardw
}
}
if (hwInfo.capabilityTable.supportsFloatAtomics) {
if (enabledClVersion >= 20) {
extensions += "cl_ext_float_atomics ";
}