experiment: simplify definition of kernel_attr
compiler: inline transform WIP