Skip to main content

LowerOpAfterUnroll

Trait LowerOpAfterUnroll 

Source
pub trait LowerOpAfterUnroll<T = Shared>: Op {
    // Required method
    fn lower(&self, scope: &Scope) -> Vec<Value>;

    // Provided methods
    fn verify(_op: &dyn Op, _ctx: &Context) -> Result<()>
       where Self: Sized { ... }
    fn should_lower(&self, _ctx: &Context) -> bool { ... }
}

Required Methods§

Source

fn lower(&self, scope: &Scope) -> Vec<Value>

Provided Methods§

Source

fn verify(_op: &dyn Op, _ctx: &Context) -> Result<()>
where Self: Sized,

Source

fn should_lower(&self, _ctx: &Context) -> bool

Trait Implementations§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl LowerOpAfterUnroll<Cuda> for AtomicFAddOp

Source§

fn lower(&self, scope: &Scope) -> Vec<Value>

Source§

impl LowerOpAfterUnroll<Cuda> for AtomicFMaxOp

Source§

fn lower(&self, scope: &Scope) -> Vec<Value>

Source§

impl LowerOpAfterUnroll<Cuda> for AtomicFMinOp

Source§

fn lower(&self, scope: &Scope) -> Vec<Value>

Source§

impl LowerOpAfterUnroll<Cuda> for AtomicIAddOp

Source§

fn lower(&self, scope: &Scope) -> Vec<Value>

Source§

impl LowerOpAfterUnroll<Cuda> for AtomicSMaxOp

Source§

fn lower(&self, scope: &Scope) -> Vec<Value>

Source§

impl LowerOpAfterUnroll<Cuda> for AtomicSMinOp

Source§

fn lower(&self, scope: &Scope) -> Vec<Value>

Source§

impl LowerOpAfterUnroll<Cuda> for AtomicUMaxOp

Source§

fn lower(&self, scope: &Scope) -> Vec<Value>

Source§

impl LowerOpAfterUnroll<Cuda> for AtomicUMinOp

Source§

fn lower(&self, scope: &Scope) -> Vec<Value>

Implementors§