Since 1986 - Covering the Fastest Computers in the World and the People Who Run Them

Language Flags
October 1, 2009

GPU Debugging Grows Up

Michael Feldman

Lost in the shuffle around NVIDIA’s big Fermi GPU unveiling was the company’s announcement of the Nexus development toolset. Since this week’s GPU Technology Conference is very much focused on GPU computing developers, the news is especially relevant for this crowd.

Nexus is basically a set of three tools — a debugger, a performance analyzer, and something called a graphics inspector — that has been integrated into Microsoft Visual Studio. It’s designed to work with CUDA code, but support for OpenCL and Microsoft’s DirectCompute is promised for future iterations.

The idea here is to bring GPU debugging onto the mainstream development platform. The timing is good, inasmuch as Fermi is designed to attract a lot more mainstream developers. And given that many programmers develop on Windows, even those coding up scientific applications, the Visual Studio platform just made sense. The Linux CUDA toolset does include its own debugger (GDB) and a profiler, but these are standalone tools.

One of the unique features of the Nexus debugging tools is that it they understand both the CPU and GPU environments and manage them transparently. For example, you can examine local GPU memory, set source breakpoints in GPU-resident code, track GPU threads, view GPU events, as well perform the those same operations on the CPU side. You can also do typical debug operations like setting conditional breakpoints, detecting out-of-bounds memory accesses, and so on. A demo of the Nexus debugger and other tools in action is available on YouTube. If that sort of thing gets your blood racing click here.

By the way, if you still prefer to debug your code with printf (and many do), software support for the C standard I/O library, stdio.h, has been added in the new architecture.

A beta version of Nexus is scheduled to drop on October 15. To register for the beta or just to get some more info, check out www.nvidia.com/nexus.

SC14 Virtual Booth Tours

AMD SC14 video AMD Virtual Booth Tour @ SC14
Click to Play Video
Cray SC14 video Cray Virtual Booth Tour @ SC14
Click to Play Video
Datasite SC14 video DataSite and RedLine @ SC14
Click to Play Video
HP SC14 video HP Virtual Booth Tour @ SC14
Click to Play Video
IBM DCS3860 and Elastic Storage @ SC14 video IBM DCS3860 and Elastic Storage @ SC14
Click to Play Video
IBM Flash Storage
@ SC14 video IBM Flash Storage @ SC14  
Click to Play Video
IBM Platform @ SC14 video IBM Platform @ SC14
Click to Play Video
IBM Power Big Data SC14 video IBM Power Big Data @ SC14
Click to Play Video
Intel SC14 video Intel Virtual Booth Tour @ SC14
Click to Play Video
Lenovo SC14 video Lenovo Virtual Booth Tour @ SC14
Click to Play Video
Mellanox SC14 video Mellanox Virtual Booth Tour @ SC14
Click to Play Video
Panasas SC14 video Panasas Virtual Booth Tour @ SC14
Click to Play Video
Quanta SC14 video Quanta Virtual Booth Tour @ SC14
Click to Play Video
Seagate SC14 video Seagate Virtual Booth Tour @ SC14
Click to Play Video
Supermicro SC14 video Supermicro Virtual Booth Tour @ SC14
Click to Play Video