Lluvia
DeviceType.h File Reference

DeviceType enum. More...

Include dependency graph for DeviceType.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ll
 
 ll::impl
 

Enumerations

enum class  ll::DeviceType : ll::enum_t {
  ll::Other = static_cast<ll::enum_t>(vk::PhysicalDeviceType::eOther) , ll::DiscreteGPU = static_cast<ll::enum_t>(vk::PhysicalDeviceType::eDiscreteGpu) , ll::IntegratedGPU = static_cast<ll::enum_t>(vk::PhysicalDeviceType::eIntegratedGpu) , ll::VirtualGPU = static_cast<ll::enum_t>(vk::PhysicalDeviceType::eVirtualGpu) ,
  ll::CPU = static_cast<ll::enum_t>(vk::PhysicalDeviceType::eCpu)
}
 Image axis enumeration. More...
 

Functions

constexpr ll::DeviceType ll::impl::fromVkPhysicalDeviceType (const vk::PhysicalDeviceType &physicalDeviceType) noexcept
 
template<typename T = std::string>
ll::deviceTypeToString (ll::DeviceType &&deviceType) noexcept
 
template<typename T >
ll::DeviceType ll::stringToDeviceType (T &&stringValue)
 

Variables

constexpr const std::array< std::tuple< const char *, ll::DeviceType >, 5 > ll::impl::DeviceTypeStrings
 Image axis strings used for converting ll::DeviceType to std::string and vice-versa. More...
 

Detailed Description

DeviceType enum.