Struct cubecl_cuda::compiler::unary::Cos
source · pub struct Cos;
Trait Implementations§
source§impl Unary for Cos
impl Unary for Cos
fn format_scalar<Input: Display, Out: Display>( f: &mut Formatter<'_>, input: Input, out: Out, _elem: Elem, ) -> Result
fn format(f: &mut Formatter<'_>, input: &Variable, out: &Variable) -> Result
fn settings(_elem: Elem) -> InstructionSettings
fn format_native_vec4( f: &mut Formatter<'_>, input: &Variable, out: &Variable, elem: Elem, ) -> Result
fn format_native_vec3( f: &mut Formatter<'_>, input: &Variable, out: &Variable, elem: Elem, ) -> Result
fn format_native_vec2( f: &mut Formatter<'_>, input: &Variable, out: &Variable, elem: Elem, ) -> Result
fn unroll_vec2( f: &mut Formatter<'_>, input: &Variable, out: &Variable, elem: Elem, ) -> Result
fn unroll_vec3( f: &mut Formatter<'_>, input: &Variable, out: &Variable, elem: Elem, ) -> Result
fn unroll_vec4( f: &mut Formatter<'_>, input: &Variable, out: &Variable, elem: Elem, ) -> Result
fn unroll_vec( f: &mut Formatter<'_>, input: &Variable, out: &Variable, elem: Elem, index: usize, ) -> Result
Auto Trait Implementations§
impl Freeze for Cos
impl RefUnwindSafe for Cos
impl Send for Cos
impl Sync for Cos
impl Unpin for Cos
impl UnwindSafe for Cos
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more