mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-24 02:41:19 +08:00
19 lines
304 B
C++
19 lines
304 B
C++
// Copyright © 2023-2024 Apple Inc.
|
|
|
|
#pragma once
|
|
|
|
#include <future>
|
|
#include <memory>
|
|
|
|
#include "mlx/array.h"
|
|
#include "mlx/stream.h"
|
|
|
|
namespace mlx::core::gpu {
|
|
|
|
void new_stream(Stream stream);
|
|
void eval(array& arr);
|
|
void finalize(Stream s);
|
|
void synchronize(Stream s);
|
|
|
|
} // namespace mlx::core::gpu
|