Commit 0cda00f
committed
[metal] Add MSL walker, 3D launcher, and copy kernel tests
Add the MSL AST walker that converts Python AST to MSL C++ source,
MetalBackend.post_process_function_def to wire it into codegen,
update the launcher to 3D threadgroup dispatch, and add copy kernel
tests.
stack-info: PR: #1794, branch: aditvenk/stack/131 parent 487dc06 commit 0cda00f
5 files changed
Lines changed: 639 additions & 8 deletions
File tree
- helion
- _compiler
- metal
- runtime
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2499 | 2499 | | |
2500 | 2500 | | |
2501 | 2501 | | |
| 2502 | + | |
| 2503 | + | |
| 2504 | + | |
| 2505 | + | |
| 2506 | + | |
| 2507 | + | |
| 2508 | + | |
| 2509 | + | |
| 2510 | + | |
| 2511 | + | |
| 2512 | + | |
| 2513 | + | |
| 2514 | + | |
| 2515 | + | |
| 2516 | + | |
| 2517 | + | |
| 2518 | + | |
| 2519 | + | |
| 2520 | + | |
| 2521 | + | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
| 2525 | + | |
| 2526 | + | |
| 2527 | + | |
| 2528 | + | |
| 2529 | + | |
| 2530 | + | |
| 2531 | + | |
| 2532 | + | |
| 2533 | + | |
| 2534 | + | |
| 2535 | + | |
| 2536 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments