ELK: Exploring the Efficiency of Inter-core Connected AI Chips with Deep Learning Compiler Techniques