MLX
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
Or Struct Reference

#include <ops.h>

Public Member Functions

bool simd_reduce (bool val)
 
void atomic_update (device mlx_atomic< unsigned int > *out, bool val, uint elem_idx, uint offset=0)
 
void atomic_update (device mlx_atomic< bool > *out, bool val, uint offset=0)
 
void update (device bool *out, bool val)
 
bool operator() (bool a, bool b)
 

Static Public Attributes

static constexpr constant bool init = false
 

Member Function Documentation

◆ atomic_update() [1/2]

void Or::atomic_update ( device mlx_atomic< bool > * out,
bool val,
uint offset = 0 )
inline

◆ atomic_update() [2/2]

void Or::atomic_update ( device mlx_atomic< unsigned int > * out,
bool val,
uint elem_idx,
uint offset = 0 )
inline

◆ operator()()

bool Or::operator() ( bool a,
bool b )
inline

◆ simd_reduce()

bool Or::simd_reduce ( bool val)
inline

◆ update()

void Or::update ( device bool * out,
bool val )
inline

Member Data Documentation

◆ init

constexpr constant bool Or::init = false
staticconstexpr

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