MLX
Loading...
Searching...
No Matches
Variables
reduce.h File Reference

Go to the source code of this file.

Variables

constexpr std::string_view reduce_init_kernels
 
constexpr std::string_view reduce_kernels
 
constexpr std::string_view reduce_non_atomic_kernels
 

Variable Documentation

◆ reduce_init_kernels

constexpr std::string_view reduce_init_kernels
constexpr
Initial value:
= R"(
[[kernel]] void {0}(
device {1}* out [[buffer(0)]],
uint tid [[thread_position_in_grid]]) {{
out[tid] = {2}<{1}>::init;
}}
)"

◆ reduce_kernels

constexpr std::string_view reduce_kernels
constexpr

◆ reduce_non_atomic_kernels

constexpr std::string_view reduce_non_atomic_kernels
constexpr