#include <ops.h>
|
static constexpr constant U | init = U(1) |
|
◆ 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 |
◆ init
template<typename U >
constexpr constant U Prod< U >::init = U(1) |
|
staticconstexpr |
The documentation for this struct was generated from the following file:
- mlx/backend/metal/kernels/reduction/ops.h