[][src]Module coaster::device

Provides a representation for one or many ready to use hardwares.

Devices are a set of hardwares, which were initialized by the framework, in the order that they were ready to receive kernel executions, event processing, memory synchronization, etc. You can turn available hardware into a device, through the backend.

Enums

Error

Defines a generic set of Memory Errors.

Traits

IDevice

Specifies Hardware behavior across frameworks.

IMemory

Marker trait for backing memory.

MemorySync

This trait should be implemented for Device. Use of Any everywhere is ugly, but it looks like there is no other way to do it if we want to extract CUDA stuff into its own crate completely, so that base crate knows nothing about it at all.