Enum tvm::runtime::device::DeviceType [−][src]
#[repr(i64)]
pub enum DeviceType {
CPU,
CUDA,
CUDAHost,
OpenCL,
Vulkan,
Metal,
VPI,
ROCM,
ExtDev,
}
Expand description
Variants
CPU
CUDA
CUDAHost
OpenCL
Vulkan
Metal
VPI
ROCM
ExtDev
Implementations
Trait Implementations
default device is cpu.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DeviceType
impl Send for DeviceType
impl Sync for DeviceType
impl Unpin for DeviceType
impl UnwindSafe for DeviceType
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more