MLX
Loading...
Searching...
No Matches
mlx
backend
metal
jit
arange.h
Go to the documentation of this file.
1
// Copyright © 2024 Apple Inc.
2
3
constexpr
std::string_view
arange_kernels
= R
"(
4
template [[host_name("{0}")]] [[kernel]] void arange<{1}>(
5
constant const {1}& start,
6
constant const {1}& step,
7
device {1}* out,
8
uint index [[thread_position_in_grid]]);
9
)";
arange_kernels
constexpr std::string_view arange_kernels
Definition
arange.h:3
Generated by
1.10.0