feat: metal formatting and pre-commit bump (#1038)

* feat: metal formatting and pre-commit bump

* add guards

* update

* more guards

* more guards

* smakk fix

* Refactor instantiation of ternary types in ternary.metal

* fix scan.metal
This commit is contained in:
Nripesh Niketan
2024-04-30 18:18:09 +04:00
committed by GitHub
parent 8db7161c94
commit a30e7ed2da
45 changed files with 3822 additions and 3337 deletions

View File

@@ -22,7 +22,7 @@ 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 {};