Currently, parallel computer architectures are in full bloom, and workloads at the application level are becoming increasingly diverse. In university computer education, parallel programming courses based on traditional parallel programming models and development tools need to teach students parallel programming and optimization methods on different architectures so that students can be flexible (combination) when facing multiple architectures and be able to use a variety of programming models to write efficient parallel programs that take full advantage of the performance of parallel hardware. The emergence of oneAPI provides a new possibility to create parallel programming courses. Students only need to learn one programming model to gain the ability to write efficient parallel programs across architectures, which greatly reduces the learning burden.