Trait cubecl_wgpu::WgpuElement

source ·
pub trait WgpuElement {
    // Required method
    fn wgpu_elem() -> Elem;
}
Expand description

The base element trait for the wgpu backend.

Required Methods§

source

fn wgpu_elem() -> Elem

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WgpuElement for f32

source§

fn wgpu_elem() -> Elem

source§

impl WgpuElement for i32

source§

fn wgpu_elem() -> Elem

source§

impl WgpuElement for u32

source§

fn wgpu_elem() -> Elem

Implementors§