mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
refactor: remove not needed flags to force OCL version support
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
fa01460334
commit
6c0c229c82
@@ -461,7 +461,7 @@ IGC::FclOclDeviceCtxTagOCL *CompilerInterface::getFclDeviceCtx(const Device &dev
|
||||
DEBUG_BREAK_IF(true); // could not create device context
|
||||
return nullptr;
|
||||
}
|
||||
newDeviceCtx->SetOclApiVersion(device.getHardwareInfo().capabilityTable.clVersionSupport * 10);
|
||||
newDeviceCtx->SetOclApiVersion(ocl30ApiVersion);
|
||||
if (newDeviceCtx->GetUnderlyingVersion() > 4U) {
|
||||
auto igcPlatform = newDeviceCtx->GetPlatformHandle();
|
||||
if (nullptr == igcPlatform.get()) {
|
||||
|
||||
Reference in New Issue
Block a user