compute-runtime/opencl/source/platform/platform_info.h

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;
};