mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Enable overriding OpenCL version to 3.0
Related-To: NEO-4368 Change-Id: I6e2469861ca98649050b0f6251064ae6cce673be Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
caee16d968
commit
b817d3e95a
@@ -102,6 +102,10 @@ void ClDevice::initializeCaps() {
|
||||
ocl21FeaturesEnabled = DebugManager.flags.ForceOCL21FeaturesSupport.get();
|
||||
}
|
||||
switch (enabledClVersion) {
|
||||
case 30:
|
||||
deviceInfo.clVersion = "OpenCL 3.0 NEO ";
|
||||
deviceInfo.clCVersion = "OpenCL C 3.0 ";
|
||||
break;
|
||||
case 21:
|
||||
deviceInfo.clVersion = "OpenCL 2.1 NEO ";
|
||||
deviceInfo.clCVersion = "OpenCL C 2.0 ";
|
||||
|
||||
Reference in New Issue
Block a user