Files
2026-03-09 22:30:41 +00:00

606 B

LayoutTensor examples

This directory contains examples to accompany Using LayoutTensor.

If you have Pixi installed, you can execute the examples by running the following commands:

pixi run layout_tensor
pixi run layout_tensor_gpu
pixi run layout_tensor_all  # Runs both sets of examples

Note that the GPU examples currently don't run on Apple silicon GPUs.

If you update any of these examples, note that the corresponding examples and accompanying text in the Mojo Manual needs to be updated as well.