Parallel molecular dynamics for silicon and silicon carbide: MPI, CUDA and CUDA-MPI implementation