Files
compute-runtime/opencl/source/platform/platform_info.h
Filip Hazubski ca459b8d59 Add new clGetPlatformInfo queries
Add support for following queries:
 - CL_PLATFORM_NUMERIC_VERSION
 - CL_PLATFORM_EXTENSIONS_WITH_VERSION

Related-To: NEO-4368

Change-Id: I88a1878b786d424a718f1b3351a8af26cf69479f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-05-29 12:45:05 +02:00

24 lines
520 B
C++

/*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "CL/cl.h"
#include <string>
#include <vector>
struct PlatformInfo {
std::vector<cl_name_version> extensionsWithVersion;
std::string profile = "FULL_PROFILE";
std::string version = "";
std::string name = "Intel(R) OpenCL HD Graphics";
std::string vendor = "Intel(R) Corporation";
std::string extensions;
std::string icdSuffixKhr = "INTEL";
cl_version numericVersion = 0;
};