Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Anybody here try CUDA programming in OS X?

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
Home » Discuss » DU Groups » Computers & Internet » Macintosh Users Group Donate to DU
 
struggle4progress Donating Member (1000+ posts) Send PM | Profile | Ignore Sun Sep-20-09 08:45 PM
Original message
Anybody here try CUDA programming in OS X?
In particular, is CUDA working in Snow Leopard?

And can CUDA with (say) one GTX280 really speed stuff up much? For example, do the matrix-vector operations in CUDA's version of BLAS really work quickly and well?
Refresh | 0 Recommendations Printer Friendly | Permalink | Reply | Top
struggle4progress Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Oct-07-09 08:28 AM
Response to Original message
1. There's a lot of unhappiness out there. These comments worked for me:
~snip~
* Install the toolkit before the driver. Installing the driver before the toolkit usually works, but occasionally libcuda.dylib will get deleted.
* The compiler fix on Snow Leopard (for now) is along the lines of "disable blocks within CUDA files." This means you can't use Grand Central Dispatch within .cu files.
* 64-bit kernels are unsupported.
~snip~
http://forums.nvidia.com/index.php?showtopic=106394&pid=587641&mode=threaded&start=#entry587641

~snip~
make clobber
make i386=1
~snip~
http://forums.nvidia.com/index.php?showtopic=106394&pid=588131&mode=threaded&start=#entry588131

In particular, I didn't edit the common make file to insert -m32 in the compiler flags. Some of the examples (like nbody) set off persistent system scream-beeps until terminated
Printer Friendly | Permalink | Reply | Top
 
struggle4progress Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Oct-07-09 08:59 AM
Response to Reply #1
2. OK. The scream-beep wasn't from the computer but from the UPS,
which objected to the current load. Apparently using a graphics card to do nbody computations is current intensive.
Printer Friendly | Permalink | Reply | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Fri Apr 19th 2024, 06:14 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » DU Groups » Computers & Internet » Macintosh Users Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC