├── .clang-format ├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── LICENSE ├── README.md ├── src ├── 1_single_tile_loopback │ ├── kernels │ │ └── single_tile_loopback.cpp │ ├── single_tile_loopback.cpp │ └── single_tile_loopback.h ├── 2_single_tile_loopback_four_cores │ ├── kernels │ │ └── single_tile_loopback_four_cores.cpp │ ├── single_tile_loopback_four_cores.cpp │ └── single_tile_loopback_four_cores.h ├── 3_simple_multicast │ ├── kernels │ │ ├── simple_multicast_receiver_reader.cpp │ │ └── simple_multicast_sender_reader.cpp │ ├── simple_multicast.cpp │ └── simple_multicast.h ├── 4_single_tile_matmul │ ├── kernels │ │ ├── single_tile_matmul.cpp │ │ ├── single_tile_matmul_reader.cpp │ │ └── single_tile_matmul_writer.cpp │ ├── single_tile_matmul.cpp │ └── single_tile_matmul.h ├── 5_multicast_advanced │ ├── kernels │ │ └── multicast_advanced.cpp │ ├── multicast_advanced.cpp │ └── multicast_advanced.h ├── CMakeLists.txt ├── blas_op.h ├── buffer.cpp ├── buffer.h ├── conv.cpp ├── conv.h ├── input_parser.cpp ├── input_parser.h ├── kernels │ ├── multicast_matmul.cpp │ ├── multicast_matmul_reader.cpp │ └── multicast_matmul_writer.cpp ├── log.h ├── main.cpp ├── matmul_cpu.cpp ├── matmul_cpu.h ├── multicast_matmul.cpp ├── multicast_matmul.h ├── utils.cpp └── utils.h └── ttnn └── test_conv2d.py /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | tags 3 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/README.md -------------------------------------------------------------------------------- /src/1_single_tile_loopback/kernels/single_tile_loopback.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/1_single_tile_loopback/kernels/single_tile_loopback.cpp -------------------------------------------------------------------------------- /src/1_single_tile_loopback/single_tile_loopback.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/1_single_tile_loopback/single_tile_loopback.cpp -------------------------------------------------------------------------------- /src/1_single_tile_loopback/single_tile_loopback.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/1_single_tile_loopback/single_tile_loopback.h -------------------------------------------------------------------------------- /src/2_single_tile_loopback_four_cores/kernels/single_tile_loopback_four_cores.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/2_single_tile_loopback_four_cores/kernels/single_tile_loopback_four_cores.cpp -------------------------------------------------------------------------------- /src/2_single_tile_loopback_four_cores/single_tile_loopback_four_cores.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/2_single_tile_loopback_four_cores/single_tile_loopback_four_cores.cpp -------------------------------------------------------------------------------- /src/2_single_tile_loopback_four_cores/single_tile_loopback_four_cores.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/2_single_tile_loopback_four_cores/single_tile_loopback_four_cores.h -------------------------------------------------------------------------------- /src/3_simple_multicast/kernels/simple_multicast_receiver_reader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/3_simple_multicast/kernels/simple_multicast_receiver_reader.cpp -------------------------------------------------------------------------------- /src/3_simple_multicast/kernels/simple_multicast_sender_reader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/3_simple_multicast/kernels/simple_multicast_sender_reader.cpp -------------------------------------------------------------------------------- /src/3_simple_multicast/simple_multicast.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/3_simple_multicast/simple_multicast.cpp -------------------------------------------------------------------------------- /src/3_simple_multicast/simple_multicast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/3_simple_multicast/simple_multicast.h -------------------------------------------------------------------------------- /src/4_single_tile_matmul/kernels/single_tile_matmul.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/4_single_tile_matmul/kernels/single_tile_matmul.cpp -------------------------------------------------------------------------------- /src/4_single_tile_matmul/kernels/single_tile_matmul_reader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/4_single_tile_matmul/kernels/single_tile_matmul_reader.cpp -------------------------------------------------------------------------------- /src/4_single_tile_matmul/kernels/single_tile_matmul_writer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/4_single_tile_matmul/kernels/single_tile_matmul_writer.cpp -------------------------------------------------------------------------------- /src/4_single_tile_matmul/single_tile_matmul.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/4_single_tile_matmul/single_tile_matmul.cpp -------------------------------------------------------------------------------- /src/4_single_tile_matmul/single_tile_matmul.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/4_single_tile_matmul/single_tile_matmul.h -------------------------------------------------------------------------------- /src/5_multicast_advanced/kernels/multicast_advanced.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/5_multicast_advanced/kernels/multicast_advanced.cpp -------------------------------------------------------------------------------- /src/5_multicast_advanced/multicast_advanced.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/5_multicast_advanced/multicast_advanced.cpp -------------------------------------------------------------------------------- /src/5_multicast_advanced/multicast_advanced.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/5_multicast_advanced/multicast_advanced.h -------------------------------------------------------------------------------- /src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/CMakeLists.txt -------------------------------------------------------------------------------- /src/blas_op.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/blas_op.h -------------------------------------------------------------------------------- /src/buffer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/buffer.cpp -------------------------------------------------------------------------------- /src/buffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/buffer.h -------------------------------------------------------------------------------- /src/conv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/conv.cpp -------------------------------------------------------------------------------- /src/conv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/conv.h -------------------------------------------------------------------------------- /src/input_parser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/input_parser.cpp -------------------------------------------------------------------------------- /src/input_parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/input_parser.h -------------------------------------------------------------------------------- /src/kernels/multicast_matmul.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/kernels/multicast_matmul.cpp -------------------------------------------------------------------------------- /src/kernels/multicast_matmul_reader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/kernels/multicast_matmul_reader.cpp -------------------------------------------------------------------------------- /src/kernels/multicast_matmul_writer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/kernels/multicast_matmul_writer.cpp -------------------------------------------------------------------------------- /src/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/log.h -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/main.cpp -------------------------------------------------------------------------------- /src/matmul_cpu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/matmul_cpu.cpp -------------------------------------------------------------------------------- /src/matmul_cpu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/matmul_cpu.h -------------------------------------------------------------------------------- /src/multicast_matmul.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/multicast_matmul.cpp -------------------------------------------------------------------------------- /src/multicast_matmul.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/multicast_matmul.h -------------------------------------------------------------------------------- /src/utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/utils.cpp -------------------------------------------------------------------------------- /src/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/src/utils.h -------------------------------------------------------------------------------- /ttnn/test_conv2d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaebaek/tenstorrent-tiny-examples/HEAD/ttnn/test_conv2d.py --------------------------------------------------------------------------------