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

Method ordered_prefetch

mlx/data/Buffer.cpp:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81Stream Buffer::ordered_prefetch(int prefetch_size, int num_thread) const {
82 return Stream(std::make_shared<stream::OrderedPrefetch>(
83 self_, prefetch_size, num_thread));
84}
85
86Buffer Buffer::partition(int64_t num_partitions, int64_t partition) const {
87 return Buffer(

Callers 3

test_ordered_prefetchMethod · 0.80
iterateFunction · 0.80

Calls 1

StreamClass · 0.70

Tested by 2

test_ordered_prefetchMethod · 0.64