This repository contains code developed in the context of porting the MadGraph5_aMC@NLO event generator software onto GPU platforms and vector instructions on CPUs. MadGraph5_aMC@NLO is able to generate code for various physics processes in different programming languages (Fortran, C, C++). The code generated in this repository in "epochX" of the MadGraph5_aMC@NLO generator allows to also produce source code for those physics processes to run on GPU and CPU platforms.