Page 1 of 1

openCL SDK

PostPosted: Wed Apr 01, 2015 1:33 pm
by Nader_Jendoubi
Hi

I have a image processing project and a code to develop with openCL
i wanna ask if the parallella Ubuntu image include the appropriate SDK (COPTHR) for developping with openCL or should i build it by myself(if this is the case, please give me the build sequence)

How can i build the host and device(kernel) parts of the code??



Thanks

Re: openCL SDK

PostPosted: Sat Apr 04, 2015 5:40 am
by nickoppen
Hi,

The parallella image does include the Brown Deer OpenCL compiler. If you are just starting out, I suggest using the image that is downloadable from the parallella.org site. I've just started using it and the compiler seems to be working well.

If you want to build it from scratch have a look at: http://www.browndeertechnology.com/docs/Parallella_quick_start_guide.pdf and get the source using the command: git clone https://github.com/browndeer/coprthr.git

nick

Re: openCL SDK

PostPosted: Sun Apr 05, 2015 3:06 pm
by Nader_Jendoubi
Hi

Thanks for the clarification but can you please indicate to me the directory of the the Brown Deer OpenCL compiler in the Linux Ubuntu Linaro 14.04 for parallella (like /opt/adapteva for eSDK)


Regards

Nader

Re: openCL SDK

PostPosted: Mon Apr 06, 2015 10:27 am
by nickoppen
/usr/local/browndeer and then under that there is the usual /lib /include etc.

Re: openCL SDK

PostPosted: Fri Jan 15, 2016 12:17 pm
by fbt
Hi @nickoppen, i followed your "openCL on the parallella using Eclipse" tutorial, but when i try to run the mandelbrot from Eclipse, i obtain some errors related to supervisor requirements ... but when i run the executable build file from a terminal (after "sudo bash"), it runs OK. could ypu please help me to solve this issue and reach executing the project from Eclipse?. thanks