Kernel generation (#614)

Generate reusable element-wise kernels given a computation graph.
This commit is contained in:
Angelos Katharopoulos
2024-02-07 13:15:59 -08:00
committed by GitHub
parent 5fd11c347d
commit 28eac18571
19 changed files with 1302 additions and 459 deletions

View File

@@ -13,7 +13,7 @@
namespace mlx::core {
constexpr int max_compile_depth = 6;
constexpr int max_compile_depth = 10;
bool is_unary(const Primitive& p) {
return (