Parallel Hello World

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

Parallel Hello World

Postby dev » Sat Sep 03, 2016 9:13 am

Hello,
a few epiphany examples suggest parallel processing, but are still executed in a serial manner. But in debugging circumstances I prefer a constant flow of debugging messages which occur simultaneous on the epiphany. Therefore I wrote a small program to handle messages. It is created as a kind of example, but I am sure there could be optimized a lot by more experienced people. For example I solved the lack of accessing the mutex by the host (if there is a better way, it is welcome) by using a handshake. Each core continues currently if the message_buf has not enough space for brevity. In a real debugging environment it should of course stop and continue if the buffer got reset by the host.

Your suggestions are welcome,
&dev
Attachments
parallelOutbuf.zip
(2.9 KiB) Downloaded 1612 times
dev
 
Posts: 4
Joined: Sat Aug 27, 2016 9:18 am

Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 5 guests