MCPcopy Create free account
hub / github.com/ml-explore/mlx / StridedIterator

Method StridedIterator

mlx/backend/cpu/sort.cpp:43–43  ·  view source on GitHub ↗

Constructors

Source from the content-addressed store, hash-verified

41
42 // Constructors
43 StridedIterator() = default;
44
45 explicit StridedIterator(T* ptr, int64_t stride, difference_type offset = 0)
46 : stride_(stride), ptr_(ptr + offset * stride) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected