|
enum | Format {
Format::Undefined = OIDN_FORMAT_UNDEFINED,
Format::Float = OIDN_FORMAT_FLOAT,
Format::Float2 = OIDN_FORMAT_FLOAT2,
Format::Float3 = OIDN_FORMAT_FLOAT3,
Format::Float4 = OIDN_FORMAT_FLOAT4,
Format::Half = OIDN_FORMAT_HALF,
Format::Half2 = OIDN_FORMAT_HALF2,
Format::Half3 = OIDN_FORMAT_HALF3,
Format::Half4 = OIDN_FORMAT_HALF4
} |
|
enum | Storage { Storage::Undefined = OIDN_STORAGE_UNDEFINED,
Storage::Host = OIDN_STORAGE_HOST,
Storage::Device = OIDN_STORAGE_DEVICE,
Storage::Managed = OIDN_STORAGE_MANAGED
} |
|
enum | ExternalMemoryTypeFlag {
ExternalMemoryTypeFlag::None = OIDN_EXTERNAL_MEMORY_TYPE_FLAG_NONE,
ExternalMemoryTypeFlag::OpaqueFD = OIDN_EXTERNAL_MEMORY_TYPE_FLAG_OPAQUE_FD,
ExternalMemoryTypeFlag::DMABuf = OIDN_EXTERNAL_MEMORY_TYPE_FLAG_DMA_BUF,
ExternalMemoryTypeFlag::OpaqueWin32 = OIDN_EXTERNAL_MEMORY_TYPE_FLAG_OPAQUE_WIN32,
ExternalMemoryTypeFlag::OpaqueWin32KMT = OIDN_EXTERNAL_MEMORY_TYPE_FLAG_OPAQUE_WIN32_KMT,
ExternalMemoryTypeFlag::D3D11Texture = OIDN_EXTERNAL_MEMORY_TYPE_FLAG_D3D11_TEXTURE,
ExternalMemoryTypeFlag::D3D11TextureKMT = OIDN_EXTERNAL_MEMORY_TYPE_FLAG_D3D11_TEXTURE_KMT,
ExternalMemoryTypeFlag::D3D11Resource = OIDN_EXTERNAL_MEMORY_TYPE_FLAG_D3D11_RESOURCE,
ExternalMemoryTypeFlag::D3D11ResourceKMT = OIDN_EXTERNAL_MEMORY_TYPE_FLAG_D3D11_RESOURCE_KMT,
ExternalMemoryTypeFlag::D3D12Heap = OIDN_EXTERNAL_MEMORY_TYPE_FLAG_D3D12_HEAP,
ExternalMemoryTypeFlag::D3D12Resource = OIDN_EXTERNAL_MEMORY_TYPE_FLAG_D3D12_RESOURCE
} |
|
enum | Quality { Quality::Default = OIDN_QUALITY_DEFAULT,
Quality::Balanced = OIDN_QUALITY_BALANCED,
Quality::High = OIDN_QUALITY_HIGH
} |
|
enum | DeviceType {
DeviceType::Default = OIDN_DEVICE_TYPE_DEFAULT,
DeviceType::CPU = OIDN_DEVICE_TYPE_CPU,
DeviceType::SYCL = OIDN_DEVICE_TYPE_SYCL,
DeviceType::CUDA = OIDN_DEVICE_TYPE_CUDA,
DeviceType::HIP = OIDN_DEVICE_TYPE_HIP,
DeviceType::Metal = OIDN_DEVICE_TYPE_METAL
} |
|
enum | Error {
Error::None = OIDN_ERROR_NONE,
Error::Unknown = OIDN_ERROR_UNKNOWN,
Error::InvalidArgument = OIDN_ERROR_INVALID_ARGUMENT,
Error::InvalidOperation = OIDN_ERROR_INVALID_OPERATION,
Error::OutOfMemory = OIDN_ERROR_OUT_OF_MEMORY,
Error::UnsupportedHardware = OIDN_ERROR_UNSUPPORTED_HARDWARE,
Error::Cancelled = OIDN_ERROR_CANCELLED
} |
|
|
template<typename FlagT > |
constexpr Flags< FlagT > | operator& (FlagT a, const Flags< FlagT > &b) noexcept |
|
template<typename FlagT > |
constexpr Flags< FlagT > | operator| (FlagT a, const Flags< FlagT > &b) noexcept |
|
template<typename FlagT > |
constexpr Flags< FlagT > | operator^ (FlagT a, const Flags< FlagT > &b) noexcept |
|
template<typename FlagT , typename std::enable_if< IsFlag< FlagT >::value, bool >::type = true> |
constexpr Flags< FlagT > | operator& (FlagT a, FlagT b) noexcept |
|
template<typename FlagT , typename std::enable_if< IsFlag< FlagT >::value, bool >::type = true> |
constexpr Flags< FlagT > | operator| (FlagT a, FlagT b) noexcept |
|
template<typename FlagT , typename std::enable_if< IsFlag< FlagT >::value, bool >::type = true> |
constexpr Flags< FlagT > | operator^ (FlagT a, FlagT b) noexcept |
|
Error | getError () |
|
Error | getError (const char *&outMessage) |
|
DeviceRef | newDevice (DeviceType type=DeviceType::Default) |
|
DeviceRef | newDevice (int physicalDeviceID) |
|
DeviceRef | newDevice (const UUID &uuid) |
|
DeviceRef | newDevice (const LUID &luid) |
|
DeviceRef | newDevice (int pciDomain, int pciBus, int pciDevice, int pciFunction) |
|
DeviceRef | newCUDADevice (int deviceID, cudaStream_t stream) |
|
DeviceRef | newCUDADevice (const std::vector< int > &deviceIDs, const std::vector< cudaStream_t > &streams) |
|
DeviceRef | newHIPDevice (int deviceID, hipStream_t stream) |
|
DeviceRef | newHIPDevice (const std::vector< int > &deviceIDs, const std::vector< hipStream_t > &streams) |
|
DeviceRef | newMetalDevice (MTLCommandQueue_id commandQueue) |
|
DeviceRef | newMetalDevice (const std::vector< MTLCommandQueue_id > &commandQueues) |
|
int | getNumPhysicalDevices () |
|