Installation
TileFusion requires a C++20 host compiler, CUDA 12.0 or later, and GCC version 10.0 or higher to support C++20 features.
Download
git clone git@github.com:microsoft/TileFusion.git
cd TileFusion && git submodule update --init --recursive
Build from Source
Building the C++ Library Using Makefile
-
To build the project using the provided
Makefile
, simply run:make
-
Run the C++ unit tests:
- Run a single C++ unit test:
make unit_test_cpp CPP_UT=test_gemm
- Run all C++ unit tests:
make unit_test_cpps
- Run a single C++ unit test:
Building the Python Wrapper
-
Build the wheel:
python3 setup.py build bdist_wheel
-
Clean the build:
python3 setup.py clean
-
Install the Python wrapper in editable mode (recommended for development):
python3 setup.py develop
This allows you to edit the source code directly without needing to reinstall it repeatedly.