2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2021-05-17 02:51:16 +08:00
|
|
|
* Copyright (C) 2018-2021 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
2020-02-22 16:28:27 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-05-28 21:11:50 +08:00
|
|
|
#include "CL/cl.h"
|
|
|
|
|
2017-12-21 07:45:38 +08:00
|
|
|
#include <string>
|
2020-05-28 21:11:50 +08:00
|
|
|
#include <vector>
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
struct PlatformInfo {
|
2020-05-28 21:11:50 +08:00
|
|
|
std::vector<cl_name_version> extensionsWithVersion;
|
2017-12-21 07:45:38 +08:00
|
|
|
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";
|
2020-05-28 21:11:50 +08:00
|
|
|
cl_version numericVersion = 0;
|
2017-12-21 07:45:38 +08:00
|
|
|
};
|