Hello,
I'm using the Media Engine as an addictional CPU and i get it working writing a simple threading routine. Now some of my code is performed by the ME and is communicating with the allegrex with some uncached variables.
Ok then my question is, how is clocked the Media Engine by default? It seems that is slower than the main cpu. How can i overclock the media engine?
Thanks
EDIT: I would like to know also how to flush the media engine cache. Thanks
Media Engine ^ 2 [solved]
-
- Posts: 70
- Joined: Thu Jun 22, 2006 9:24 pm
Media Engine ^ 2 [solved]
Last edited by siberianstar on Mon Jul 31, 2006 10:26 am, edited 1 time in total.
your question
Can you post your code sample? The smallest (compile-able and run-able) sample that shows how you initiate the other cpu and tell it what functions are to be run. If it is like threads, show how they synch up and pass TLS (or maybe they share main memory?)
-
- Posts: 70
- Joined: Thu Jun 22, 2006 9:24 pm
http://jonny.leffe.dnsalias.com/pmp_mod ... source.rar
search for me.c (there is an equivalent of sceKernelDcacheWritebackInvalidateAll - only be sure to call it with the me ;)
this thread is also intersting: http://forums.ps2dev.org/viewtopic.php?t=2652
and, the me is clocked like the main cpu
EDIT: ops, sorry, i've not paid attention on the tag "solved" :)
search for me.c (there is an equivalent of sceKernelDcacheWritebackInvalidateAll - only be sure to call it with the me ;)
this thread is also intersting: http://forums.ps2dev.org/viewtopic.php?t=2652
and, the me is clocked like the main cpu
EDIT: ops, sorry, i've not paid attention on the tag "solved" :)