base caf kernel