MLX
Loading...
Searching...
No Matches
indexing.h File Reference
#include <metal_stdlib>

Go to the source code of this file.

Classes

struct  Indices< IdxT, NIDX >
 

Functions

template<typename IdxT >
METAL_FUNC size_t offset_neg_idx (IdxT idx, size_t size)
 

Function Documentation

◆ offset_neg_idx()

template<typename IdxT >
METAL_FUNC size_t offset_neg_idx ( IdxT idx,
size_t size )