A software stack for next-generation automotive systems on many-core heterogeneous platforms