MLX
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
Prod< U > Struct Template Reference

#include <ops.h>

Public Member Functions

template<typename T >
simd_reduce (T val)
 
template<typename T >
void atomic_update (device mlx_atomic< T > *out, T val, uint offset=0)
 
operator() (U a, U b)
 

Static Public Attributes

static constexpr constant U init = U(1)
 

Member Function Documentation

◆ atomic_update()

template<typename U >
template<typename T >
void Prod< U >::atomic_update ( device mlx_atomic< T > * out,
T val,
uint offset = 0 )
inline

◆ operator()()

template<typename U >
U Prod< U >::operator() ( U a,
U b )
inline

◆ simd_reduce()

template<typename U >
template<typename T >
T Prod< U >::simd_reduce ( T val)
inline

Member Data Documentation

◆ init

template<typename U >
constexpr constant U Prod< U >::init = U(1)
staticconstexpr

The documentation for this struct was generated from the following file: