// Copyright © 2023-2024 Apple Inc. #pragma once #include #include #include #include "mlx/array.h" #include "mlx/stream.h" namespace mlx::core::metal { void new_stream(Stream stream); std::shared_ptr new_scoped_memory_pool(); std::function make_task( array& arr, std::vector> deps, std::shared_ptr> p); } // namespace mlx::core::metal