#include <ops.h>
 | 
| static constexpr constant bool  | init = true | 
|   | 
◆ atomic_update() [1/2]
template<typename U  = bool> 
  
  
      
        
          | void And< U >::atomic_update  | 
          ( | 
          device mlx_atomic< bool > * |           out,  | 
         
        
           | 
           | 
          bool |           val,  | 
         
        
           | 
           | 
          uint |           offset = 0 ) | 
         
       
   | 
  
inline   | 
  
 
 
◆ atomic_update() [2/2]
template<typename U  = bool> 
  
  
      
        
          | void And< U >::atomic_update  | 
          ( | 
          device mlx_atomic< unsigned int > * |           out,  | 
         
        
           | 
           | 
          bool |           val,  | 
         
        
           | 
           | 
          int |           elem_idx,  | 
         
        
           | 
           | 
          int |           offset = 0 ) | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator()()
template<typename U  = bool> 
  
  
      
        
          | bool And< U >::operator()  | 
          ( | 
          bool |           a,  | 
         
        
           | 
           | 
          bool |           b ) | 
         
       
   | 
  
inline   | 
  
 
 
◆ simd_reduce()
template<typename U  = bool> 
  
  
      
        
          | bool And< U >::simd_reduce  | 
          ( | 
          bool |           val | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ update()
template<typename U  = bool> 
  
  
      
        
          | void And< U >::update  | 
          ( | 
          device bool * |           out,  | 
         
        
           | 
           | 
          bool |           val ) | 
         
       
   | 
  
inline   | 
  
 
 
◆ init
template<typename U  = bool> 
  
  
      
        
          | constexpr constant bool And< U >::init = true | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
The documentation for this struct was generated from the following file:
- mlx/backend/metal/kernels/reduction/ops.h