test pattern generator
debugging partial kernel generation