Welcome to BONSAI’s documentation!

BONSAI is Python based infrastructure for the autotuning of GPGPU computational kernels. BONSAI is based on LANAI, a Python based way of specifying the search space of parameters upon which to tune the kernel. These ‘iterators’ are used to create the valid parameter configurations. BONSAI will then take your templated C/C++ code and benchtest it with those configurations.