Inline kernel for n5