feature: Add preferredPlatformName field to RuntimeCapabilityTable

For all of the devices, preferredPlatformName is initialized with
nullptr by default and platform name will be initialized to driver's default
platform name, at the moment this is "Intel(R) OpenCL Graphics".

When Platform is initialized and preferredPlatformName is not nullptr then
Platform name will be set to the value stored in preferredPlatformName.

Add ENABLE_LEGACY_PLATFORM_NAME AIL enum related to added functionality.

Move PlatformInfo to NEO namespace.

Related-To: HSD-22018809561

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2023-09-12 09:23:51 +00:00
committed by Compute-Runtime-Automation
parent 451c48fc2f
commit d7db6ac467
25 changed files with 47 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ enum class AILEnumeration : uint32_t {
DISABLE_COMPRESSION,
ENABLE_FP64,
DISABLE_HOST_PTR_TRACKING,
ENABLE_LEGACY_PLATFORM_NAME,
AIL_MAX_OPTIONS_COUNT
};