A preview release of cuda-gdb for MacOSX is now available:
Great job, thank you, I needed a debugger on OS X:) I’ve tried it, unfortunately the 3.2.22 driver’s malloc() doesn’t work, I’ve filed a bug report.
Does anyone know if cuda-gdb on MacOS needs a dedicated board?
I thought you needed to stop Aqua for cuda-gdb, but on launching it does not complain like the linux version does when launched from x11:
centauri:src malfunct$ cuda-gdb NVIDIA (R) CUDA Debugger 3.2 release Portions Copyright (C) 2008-2010 NVIDIA Corporation GNU gdb 18.104.22.16850815-cvs (Sat Dec 18 05:50:29 UTC 2010) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-apple-darwin10.0.0 --target=". (cuda-gdb)
And it couldn’t step into kernels (compiled with -g -G), but this may not be a shortcoming of the os x version since the linux version doesn’t work for me either. It would be great if I could run it, because I want to understand why my kernel hangs.
The cuda-gdb system usage scenarios for mac is explained in this doc(Search for usage scenarios) - http://developer.download.nvidia.com/compute/cuda/3_2_prod/toolkit/docs/Getting_Started_Guide_Mac_gdb_Preview.pdf
On the malloc issue do you repro that issue with any of the sdk samples from http://developer.download.nvidia.com/compute/cuda/3_2_prod/sdk/gpucomputingsdk_3.2.17_macos.pkg
I’ll send more info in the associated bug report.