CUDA compilation problems

View: New views
2 Messages — Rating Filter:   Alert me  

CUDA compilation problems

by bART Janssens-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Evan,

A small explanation about the changes I made in SVN to compile the CUDA
plugins:

- On linux-64, I ran into the error "*** stack smashing detected ***: ptxas
terminated". See
http://groups.google.com/group/cudpp/browse_thread/thread/f4b5139884aa57e5
This was fixed by upgrading to CUDA 2.0 beta on my machine, hence the
condition around CUT_DEVICE_INIT, which requires two arguments starting from
version 2.

- the subdivide edges plugin didn't compile because the edge list and
companions were 64 bit integer arrays.

Cheers,

Bart

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: CUDA compilation problems

by Evan Lezar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Sun, Jul 20, 2008 at 9:20 AM, Bart Janssens <bart.janssens@...> wrote:
Hi Evan,

A small explanation about the changes I made in SVN to compile the CUDA
plugins:

- On linux-64, I ran into the error "*** stack smashing detected ***: ptxas
terminated". See
http://groups.google.com/group/cudpp/browse_thread/thread/f4b5139884aa57e5
This was fixed by upgrading to CUDA 2.0 beta on my machine, hence the
condition around CUT_DEVICE_INIT, which requires two arguments starting from
version 2.

- the subdivide edges plugin didn't compile because the edge list and
companions were 64 bit integer arrays.

Cheers,

Bart

Thanks

I will look at upgrading to 2.0 aswell - sorry that I have not gotten to getting the 64-bit version working.  I will sort that out before I do anything else.

Evan

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development
LightInTheBox - Buy quality products at wholesale price