#include <PlatformInfo.h>
Class which holds information about a compute API platform.
◆ PlatformInfo()
| ktt::PlatformInfo::PlatformInfo |
( |
const PlatformIndex |
index, |
|
|
const std::string & |
name |
|
) |
| |
|
explicit |
Constructor, which creates new platform info object.
- Parameters
-
| index | Index of platform assigned by KTT framework. |
| name | Name of platform retrieved from compute API. |
◆ GetExtensions()
| const std::string & ktt::PlatformInfo::GetExtensions |
( |
| ) |
const |
Getter for list of supported platform extensions retrieved from compute API.
- Returns
- List of supported platform extensions retrieved from compute API.
◆ GetIndex()
Getter for index of platform assigned by KTT framework.
- Returns
- Index of platform assigned by KTT framework.
◆ GetName()
| const std::string & ktt::PlatformInfo::GetName |
( |
| ) |
const |
Getter for name of platform retrieved from compute API.
- Returns
- Name of platform retrieved from compute API.
◆ GetString()
| std::string ktt::PlatformInfo::GetString |
( |
| ) |
const |
Converts platform info to string.
- Returns
- String containing information about the platform.
◆ GetVendor()
| const std::string & ktt::PlatformInfo::GetVendor |
( |
| ) |
const |
Getter for name of platform vendor retrieved from compute API.
- Returns
- Name of platform vendor retrieved from compute API.
◆ GetVersion()
| const std::string & ktt::PlatformInfo::GetVersion |
( |
| ) |
const |
Getter for platform version retrieved from compute API.
- Returns
- Platform version retrieved from compute API.
◆ SetExtensions()
| void ktt::PlatformInfo::SetExtensions |
( |
const std::string & |
extensions | ) |
|
Setter for list of supported platform extensions.
- Parameters
-
| extensions | List of supported platform extensions. |
◆ SetVendor()
| void ktt::PlatformInfo::SetVendor |
( |
const std::string & |
vendor | ) |
|
Setter for name of platform vendor.
- Parameters
-
| vendor | Name of platform vendor. |
◆ SetVersion()
| void ktt::PlatformInfo::SetVersion |
( |
const std::string & |
version | ) |
|
Setter for platform version.
- Parameters
-
The documentation for this class was generated from the following file: