IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> which IDE should I use to develop CUDA application
cudars
post Nov 9 2009, 07:53 AM
Post #1



**

Group: Members
Posts: 13
Joined: 27-June 09
Member No.: 161,149
Org.: MS



I am quite new to CUDA.
anyone could help to give some advices?
Thanks
Go to the top of the page
 
+Quote Post
avidday
post Nov 9 2009, 08:16 AM
Post #2



*******

Group: Members
Posts: 802
Joined: 1-April 09
Member No.: 148,556



There presently isn't a "preferred" IDE. People posting here seem to have had varying amounts of success with either NetBeans, Eclipse, and Kdevelop, but I couldn't say any of them sound like they really works all that well. Amongst editors, Vim (which is what I use) has very complete syntax highlighting and built-in interfaces to the Gnu toolchain and Cmake, so building and error parsing works well. On linux, cuda-gdb and the profiler are stand alone applications that I don't believe work wrapped inside another application anyway.

The Cuda build process is so straightforward and minimal (given nvcc takes care of most of the hard stuff), that Makefiles to build even multi language, multi-source projects can be very simple.
Go to the top of the page
 
+Quote Post
cudars
post Nov 9 2009, 08:24 AM
Post #3



**

Group: Members
Posts: 13
Joined: 27-June 09
Member No.: 161,149
Org.: MS



QUOTE (avidday @ Nov 8 2009, 09:16 PM) *
There presently isn't a "preferred" IDE. People posting here seem to have had varying amounts of success with either NetBeans, Eclipse, and Kdevelop, but I couldn't say any of them sound like they really works all that well. Amongst editors, Vim (which is what I use) has very complete syntax highlighting and built-in interfaces to the Gnu toolchain and Cmake, so building and error parsing works well. On linux, cuda-gdb and the profiler are stand alone applications that I don't believe work wrapped inside another application anyway.

The Cuda build process is so straightforward and minimal (given nvcc takes care of most of the hard stuff), that Makefiles to build even multi language, multi-source projects can be very simple.

Thanks. The Cuda build process is straightforward.
I want to an automatic IDE to do some routines for me.
But it seems that I should do it myself.
Go to the top of the page
 
+Quote Post
avidday
post Nov 9 2009, 10:11 AM
Post #4



*******

Group: Members
Posts: 802
Joined: 1-April 09
Member No.: 148,556



If you are looking for some degree of automation of code generation and hiding of a lot of the CUDA APIs, then something like PyCUDA might be worth investigating. You get full access to all the features of CUDA, in a native python environment that plays perfectly with shells like ipython and all of the Python IDEs.
Go to the top of the page
 
+Quote Post
cudars
post Nov 9 2009, 01:59 PM
Post #5



**

Group: Members
Posts: 13
Joined: 27-June 09
Member No.: 161,149
Org.: MS



QUOTE (avidday @ Nov 8 2009, 11:11 PM) *
If you are looking for some degree of automation of code generation and hiding of a lot of the CUDA APIs, then something like PyCUDA might be worth investigating. You get full access to all the features of CUDA, in a native python environment that plays perfectly with shells like ipython and all of the Python IDEs.


thank you. avidday. You are so kind.

I want to deal with a lot tiff image file by cuda. however ,I could not find the tiff format support in cuda.
by goolging, I knew libgeotiff could do the job.
but i do not know how to use libgeotiff in cuda.
Go to the top of the page
 
+Quote Post
avidday
post Nov 9 2009, 02:28 PM
Post #6



*******

Group: Members
Posts: 802
Joined: 1-April 09
Member No.: 148,556



CUDA doesn't have any image file support at all. RIght now you get a C compiler and a standard math library for the GPU, a BLAS implementation for the GPU with a host API, and a fast Fourier transform implementation for the GPU with a host API.

If you want to process images, then you will need to write your own host code and/or use libraries to read the image files to host memory, then transfer the bitmaps (or parts of them) into GPU memory and then process them with whatever algorithms you code in CUDA for the GPU.
Go to the top of the page
 
+Quote Post
cudars
post Nov 9 2009, 03:03 PM
Post #7



**

Group: Members
Posts: 13
Joined: 27-June 09
Member No.: 161,149
Org.: MS



QUOTE (avidday @ Nov 9 2009, 03:28 AM) *
CUDA doesn't have any image file support at all. RIght now you get a C compiler and a standard math library for the GPU, a BLAS implementation for the GPU with a host API, and a fast Fourier transform implementation for the GPU with a host API.

If you want to process images, then you will need to write your own host code and/or use libraries to read the image files to host memory, then transfer the bitmaps (or parts of them) into GPU memory and then process them with whatever algorithms you code in CUDA for the GPU.

Thanks. I got it.
By the way, Where can I find the manuls of the BLAS implementation for the GPU?
Go to the top of the page
 
+Quote Post
avidday
post Nov 9 2009, 03:09 PM
Post #8



*******

Group: Members
Posts: 802
Joined: 1-April 09
Member No.: 148,556



There is a manual in pdf form shipped in the Cuda Toolkit.
Go to the top of the page
 
+Quote Post
highman
post Nov 15 2009, 04:03 AM
Post #9



**

Group: Members
Posts: 22
Joined: 19-March 07
From: China
Member No.: 45,835
Org.: EmbeddedCore



QUOTE (cudars @ Nov 9 2009, 03:53 PM) *
I am quite new to CUDA.
anyone could help to give some advices?
Thanks

CB, code::block, several posts in this forum talk about cuda and codeblock
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



Copyright 2008 NVIDIA Corporation.  Terms of Use | Legal Info | Privacy Policy Time is now: 23rd November 2009 - 03:19 PM
Unites States Argentina Brazil Chile China Colombia France Germany India Italy Japan Korea Mexico Poland Russia Spain Taiwan United Kingdom Venezuela