Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dev Console]: #1012

Closed
jackywww opened this issue Oct 8, 2023 · 1 comment
Closed

[Dev Console]: #1012

jackywww opened this issue Oct 8, 2023 · 1 comment
Labels
mojo-repo Tag all issues with this label

Comments

@jackywww
Copy link

jackywww commented Oct 8, 2023

Issue description

mojo matmul.mojo
Throughput of a 128x128 matrix multiplication in Python:
Please submit a bug report to https://github.com/modularml/mojo/issues and include the crash backtrace along with all the relevant source codes.
Stack dump:
0. Program arguments: mojo matmul.mojo
#0 0x000055b6d4b58657 (/home/jacky/.modular/pkg/packages.modular.com_mojo/bin/mojo+0x5b6657)
#1 0x000055b6d4b5622e (/home/jacky/.modular/pkg/packages.modular.com_mojo/bin/mojo+0x5b422e)
#2 0x000055b6d4b58d2f (/home/jacky/.modular/pkg/packages.modular.com_mojo/bin/mojo+0x5b6d2f)
#3 0x00007fe7ba62e520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
Segmentation fault (core dumped)

Steps to reproduce

  • Add screenshots if possible, to help explain the problem.
  • Include anything that might help us debug the issue.
@jackywww jackywww added the dev-console tag for all issues related to dev-console frontend label Oct 8, 2023
@guidorice
Copy link

Consider adding some system info? (bug report template) https://github.com/modularml/mojo/blob/main/.github/ISSUE_TEMPLATE/mojo_bug_report.yaml

works on my machine:

$ mojo matmul.mojo 
Throughput of a 128x128 matrix multiplication in Python: 
0.001389015180814244 GFLOP/s
Throughput of a 512x512 matrix multiplication in Mojo using a naive algorithm: 
2.5667467623652445 GFLOP/s <> 1847 x speedup over Python
Throughput of a 512x512 matrix multiplication in Mojo using vectorization: 
18.042038446108176 GFLOP/s <> 12989 x speedup over Python
Throughput of a 512x512 matrix multiplication in Mojo using the stdlib `vectorize`: 
17.447379667166945 GFLOP/s <> 12560 x speedup over Python
Throughput of a 512x512 {vectorized + parallelized} matrix multiplication in Mojo: 
6.9730310523597403 GFLOP/s <> 5020 x speedup over Python
Throughput of a 512x512 {tiled + vectorized + parallelized} matrix multiplication in Mojo: 
5.8918970908452222 GFLOP/s <> 4241 x speedup over Python
Throughput of a 512x512 {tiled + unrolled + vectorized + parallelized} matrix multiplication in Mojo: 
6.1362076922473792 GFLOP/s <> 4417 x speedup over Python

@ematejska ematejska added the mojo-repo Tag all issues with this label label Apr 29, 2024
@ematejska ematejska changed the title [Dev Console]: [Dev Console]: May 1, 2024
@linear linear bot removed test-sync-delete after dev-console tag for all issues related to dev-console frontend labels May 2, 2024
@robert-j-webb robert-j-webb closed this as not planned Won't fix, can't repro, duplicate, stale May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mojo-repo Tag all issues with this label
Projects
None yet
Development

No branches or pull requests

4 participants