It’s a dsl not a library. The kernel launch parameters and the ast walk generate ir from the Python.