mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
@@ -22,10 +22,10 @@ namespace mlx::core {
|
||||
* for synchronizing with the main thread. */
|
||||
class Synchronizer : public Primitive {
|
||||
public:
|
||||
explicit Synchronizer(Stream stream) : Primitive(stream) {};
|
||||
explicit Synchronizer(Stream stream) : Primitive(stream) {}
|
||||
|
||||
void eval_cpu(const std::vector<array>&, std::vector<array>&) override {};
|
||||
void eval_gpu(const std::vector<array>&, std::vector<array>&) override {};
|
||||
void eval_cpu(const std::vector<array>&, std::vector<array>&) override {}
|
||||
void eval_gpu(const std::vector<array>&, std::vector<array>&) override {}
|
||||
|
||||
DEFINE_PRINT(Synchronize);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user