cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

omnidirectional
Adept I

OpenCL newbie IDE recommendation

Jump to solution

I am *finally* porting my C/C++ project from Windows/Visual Studio /CUDA to Linux/OpenCL 2.0.  

The latest Catalyst driver is installed, and we have downloaded/compiled/run the samples from  AMD APP SDK v3.0 Beta.

My question is, what IDE(s) are people using for OpenCL/CodeXL development on Linux/Ubuntu?  We are a blank slate right now, and I'd like to lay a nice clean foundation for what will hopefully be many years of OpenCL/C/C++ programming in Linux/Ubuntu.


Thanks for any suggestions.

UPDATE: Jan 15, 2015

I'm developing on the Mint flavor of Ubuntu (http://www.linuxmint.com), and I just discovered that Code::Blocks is already installed.  I'll give this a shot as an IDE.

Tags (2)
0 Likes
1 Solution

Accepted Solutions
omnidirectional
Adept I

Re: OpenCL newbie IDE recommendation

Jump to solution

UPDATE: Jan 19, 2015

Code::Blocks is kinda nice.   

We have managed to get the Code::Blocks IDE working with OpenCL 2.0 by setting up the paths for:


     include files in Code::Blocks's Search Directories

     library files in Code::Blocks's Link Libraries 


but we have not yet figured out how to set the oclflags for compiling OpenCL 2.0: -I ./ -cl -std=CL2.0


I'll consider this IDE question answered now.

View solution in original post

0 Likes
4 Replies
nou
Exemplar

Re: OpenCL newbie IDE recommendation

Jump to solution

I am personally using Qt Creator. It is nice fast and lean IDE which doesn't get in a way. Even thought it have Qt in a name it doesn't mean you need use Qt when developing applications. It is using qmake build system. It is also possible to use cmake if you don't want to have dependency on Qt.

omnidirectional
Adept I

Re: OpenCL newbie IDE recommendation

Jump to solution

Thanks for the Qt Creator suggestion.  My app does not need a GUI, and it seems that Qt Creator is GUI oriented.  Maybe this doesn't matter.  Does Qt have a clean link to CodeXL?

I'll keep Qt Creator in mind, but it looks like my Visual Studio replacement on Linux questions is bigger than I originally expected.  This search may go on for a couple of weeks.  Eclipse and EMACS are 2 other options I've found.  How does Qt compare to these concerning OpenCL?

0 Likes
omnidirectional
Adept I

Re: OpenCL newbie IDE recommendation

Jump to solution

UPDATE: Jan 19, 2015

Code::Blocks is kinda nice.   

We have managed to get the Code::Blocks IDE working with OpenCL 2.0 by setting up the paths for:


     include files in Code::Blocks's Search Directories

     library files in Code::Blocks's Link Libraries 


but we have not yet figured out how to set the oclflags for compiling OpenCL 2.0: -I ./ -cl -std=CL2.0


I'll consider this IDE question answered now.

View solution in original post

0 Likes
nou
Exemplar

Re: OpenCL newbie IDE recommendation

Jump to solution

The kernel build options should be passed to clBuildProgram() parameter.

0 Likes