Hardware for AI data processing