2021-08-05 20:50:37 +08:00
|
|
|
/*
|
2024-07-11 00:54:24 +08:00
|
|
|
* Copyright (C) 2021-2024 Intel Corporation
|
2021-08-05 20:50:37 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2022-05-18 03:04:23 +08:00
|
|
|
#pragma once
|
|
|
|
|
2021-08-05 20:50:37 +08:00
|
|
|
#include "shared/source/utilities/const_stringref.h"
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
namespace Queries {
|
2023-11-17 00:48:56 +08:00
|
|
|
enum class QueryType {
|
|
|
|
invalid,
|
|
|
|
help,
|
|
|
|
neoRevision,
|
|
|
|
igcRevision,
|
|
|
|
oclDriverVersion,
|
|
|
|
oclDeviceExtensions,
|
|
|
|
oclDeviceExtensionsWithVersion,
|
|
|
|
oclDeviceProfile,
|
|
|
|
oclDeviceOpenCLCAllVersions,
|
2024-07-11 00:54:24 +08:00
|
|
|
oclDeviceOpenCLCFeatures,
|
|
|
|
supportedDevices
|
2023-11-17 00:48:56 +08:00
|
|
|
};
|
|
|
|
|
2022-12-08 22:23:49 +08:00
|
|
|
inline constexpr ConstStringRef queryNeoRevision = "NEO_REVISION";
|
2023-09-26 21:41:20 +08:00
|
|
|
inline constexpr ConstStringRef queryIgcRevision = "IGC_REVISION";
|
2022-12-08 22:23:49 +08:00
|
|
|
inline constexpr ConstStringRef queryOCLDriverVersion = "OCL_DRIVER_VERSION";
|
2023-11-17 00:48:56 +08:00
|
|
|
inline constexpr ConstStringRef queryOCLDeviceExtensions = "CL_DEVICE_EXTENSIONS";
|
|
|
|
inline constexpr ConstStringRef queryOCLDeviceExtensionsWithVersion = "CL_DEVICE_EXTENSIONS_WITH_VERSION";
|
|
|
|
inline constexpr ConstStringRef queryOCLDeviceProfile = "CL_DEVICE_PROFILE";
|
|
|
|
inline constexpr ConstStringRef queryOCLDeviceOpenCLCAllVersions = "CL_DEVICE_OPENCL_C_ALL_VERSIONS";
|
|
|
|
inline constexpr ConstStringRef queryOCLDeviceOpenCLCFeatures = "CL_DEVICE_OPENCL_C_FEATURES";
|
2024-07-11 00:54:24 +08:00
|
|
|
inline constexpr ConstStringRef querySupportedDevices = "SUPPORTED_DEVICES";
|
2021-08-05 20:50:37 +08:00
|
|
|
}; // namespace Queries
|
|
|
|
} // namespace NEO
|