litert::Environment

Summary

Inheritance

Inherits from: internal::Handle< LiteRtEnvironment, LiteRtDestroyEnvironment >

Public types

OptionTag enum

Public functions

GetOptions() const
SupportsAhwbClInterop() const
bool
Returns whether the environment supports AHWB/CL interop.
SupportsAhwbGlInterop() const
bool
Returns whether the environment supports AHWB/GL interop.
SupportsClGlInterop() const
bool
Returns whether the environment supports CL/GL interop.

Public static functions

Create(absl::Span< const Option > options)
WrapCObject(LiteRtEnvironment env, OwnHandle owned)

Structs

litert::Environment::Option

Public types

OptionTag

 OptionTag

Public functions

GetOptions

Expected< EnvironmentOptions > GetOptions() const 

SupportsAhwbClInterop

bool SupportsAhwbClInterop() const 

Returns whether the environment supports AHWB/CL interop.

SupportsAhwbGlInterop

bool SupportsAhwbGlInterop() const 

Returns whether the environment supports AHWB/GL interop.

SupportsClGlInterop

bool SupportsClGlInterop() const 

Returns whether the environment supports CL/GL interop.

Public static functions

Create

Expected< Environment > Create(
  absl::Span< const Option > options
)

WrapCObject

Environment WrapCObject(
  LiteRtEnvironment env,
  OwnHandle owned
)