I'm planning on using a variation of linear genetic programming which will directly modify Epiphany machine code. The ARM host will prepare the next generation while the cores are evaluating the fitness of the current.
The trouble is that e_load() wants a filename, but it's going to be very inefficient to have to create a new file each time, especially since it's not just a flat bin file. Imagine having to write out 500 SREC files each generation?
Can I roll my own to load (from the host memory) and execute a program (on the Epiphany), using something like e_write then e_start? Or does e_load do a lot more?
(One option may be to e_load a 'blank' program, then in a loop use e_read to save the core, including code/data/IVT, modify machine code in host memory, then e_write back?)