IPB

Welcome Guest ( Log In | Register )

3 Pages V  < 1 2 3  
Reply to this topicStart new topic
> Integration with XCODE?, Anyone created a CUDA template project?
jmazo
post Oct 21 2009, 04:19 PM
Post #41



*

Group: Members
Posts: 7
Joined: 4-August 09
Member No.: 169,014
Org.: Universidad EAFIT



Hi there

my 2 cents

the plugin and the template seem to work fine with 2.3a in Xcode 3.1.2 in leopard.

and the path has not changed, its been in /usr/local/cuda as long as I can remeber

it was the examples (SDK?) that changed from /Developer/CUDA to /Developer/GPU Computing





QUOTE (PTThompson @ Oct 21 2009, 05:31 AM) *
One of the problems that I noticed in moving from the 2.2 to 2.3 drivers and sdk is that the CUDA plugin seemed to continue to try to access the 2.2 version of nvcc, and downstream compilers, etc (the install location changed from 2.2 to 2.3, I think). That might need to be looked at. Better yet, it might be nice to be able to explicitly set the path to the bin folder... maybe. Just a thought.

Paul

Go to the top of the page
 
+Quote Post
PTThompson
post Oct 23 2009, 06:23 PM
Post #42



****

Group: Members
Posts: 69
Joined: 29-June 09
Member No.: 161,492
Org.: Princeton Plasma Physics Lab



I should mention that with the project template, if you want to write your program in C, it works just fine, but ONLY if you make sure to leave at least one .cpp file in the project with the 'target' box checked. I'm not sure why, but if there isn't a cpp file, xcode balks and you get a linking error. There doesn't have to be anything in this .cpp file, and your main can be a main.c. You just have to have it there.

Paul
Go to the top of the page
 
+Quote Post
jmgiorgi
post Oct 24 2009, 06:32 AM
Post #43



*

Group: Members
Posts: 4
Joined: 20-April 08
From: Sydney - Australia
Member No.: 101,024



A Noob question: How (and Where) do you set the include path for nvcc?
Keep up the good work! Cheers,
JM

This post has been edited by jmgiorgi: Oct 26 2009, 05:40 AM
Go to the top of the page
 
+Quote Post
PTThompson
post Oct 24 2009, 02:27 PM
Post #44



****

Group: Members
Posts: 69
Joined: 29-June 09
Member No.: 161,492
Org.: Princeton Plasma Physics Lab



QUOTE (jmgiorgi @ Oct 24 2009, 02:32 AM) *
A Noob question: How (and Where) do you set the include path for nvpp?
Keep up the good work! Cheers,
JM


I'm not clear on what you're asking. Do you mean the path for nvcc to use to search for libraries, etc, or the path to nvcc itself?

If you mean the path for nvcc to use to search for libraries.... like if you have additional non-standard libraries that you want to include in your project, and you don't store them in the project folder itself, then you might have to pass a path flag to nvcc... something like a "-P /blah/moreblah/thatfolderinblah/stuff/" or something.

If you mean the path to nvcc itself, then you can use a symbolic link file (like an alias, but unix style) in your /usr/local/bin/ folder to point to the actual location of nvcc. Do some googling and you should be able to figure out how to do that (I forget off the top of my head).

Or did I miss the question completely?

Paul
Go to the top of the page
 
+Quote Post
MacFan
post Nov 7 2009, 10:43 AM
Post #45



****

Group: Members
Posts: 82
Joined: 17-March 09
Member No.: 145,923



Would it be possible for someone to summarize the precise current state of affairs here. Do we have working Xcode solution for

2.3a under Leopard
3.0 under Snow Leopard

and in either case is there a concise summary of the steps needed?
Go to the top of the page
 
+Quote Post

3 Pages V  < 1 2 3
Reply to this topicStart new topic

 



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