Expand description
Physical devices and adapters.
The PhysicalDevice
trait specifies the API a backend must provide for dealing with
and querying a physical device, such as a particular GPU. An Adapter
is a struct
containing a PhysicalDevice
and metadata for a particular GPU, generally created
from an Instance
of that backend. adapter.open_with(...)
will return a Device
that has the properties specified.
Structs§
- Adapter
- The list of
Adapter
instances is obtained by callingInstance::enumerate_adapters()
. - Adapter
Info - Metadata about a backend adapter.
- Gpu
- Represents a combination of a logical device and the hardware queues it provides.
- Memory
Properties - Types of memory supported by this adapter and available memory.
- Memory
Type - A description for a single chunk of memory in a heap.
Enums§
- Device
Type - Supported physical device types
Traits§
- Physical
Device - Represents a physical device (such as a GPU) capable of supporting the given backend.