我能够在我的 macbook pro m1 上运行以下内容 我的理解是 先编译。如果这种理解是正确的?在哪里可以看到已编译的二进制文件?
manigupta-macbookpro:examples manigupta$ mojo matmul.mojo
Python 0.006 GFLOPS
Naive: 5.988 GFLOPS 1066.16x faster than Python
Vectorized: 20.962 GFLOPS 3732.29x faster than Python
Parallelized: 44.525 GFLOPS 7927.71x faster than Python
Tiled: 47.741 GFLOPS 8500.38x faster than Python
Unrolled: 54.821 GFLOPS 9760.98x faster than Python
Accumulated: 405.984 GFLOPS 72286.20x faster than Python
回答:
如果要先编译,则 默认为输出名为 mojo build matmul.mojo matmul