mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
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:
committed by
Compute-Runtime-Automation
parent
686790274d
commit
e3c5cbc22f
@@ -103,7 +103,7 @@ std::string CompilerProductHelperHw<gfxProduct>::getDeviceExtensions(const Hardw
|
||||
}
|
||||
}
|
||||
|
||||
if (hwInfo.capabilityTable.supportsFloatAtomics) {
|
||||
if (enabledClVersion >= 20) {
|
||||
extensions += "cl_ext_float_atomics ";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user