shoosh
shoosh

Reputation: 78914

CUDA bounds checker?

Is there a tool equivalent to a bounds checker or purify or valgrind for CUDA?

I'm basically looking for something that might tell me if I'm reading or writing outside of allocated memory.

Upvotes: 4

Views: 1419

Answers (2)

Tom
Tom

Reputation: 21108

NVIDIA have released CUDA memcheck which does exactly this. It's available in the 3.0 beta toolkit, you'll need to be a registered developer to download it. In addition, NVIDIA have also release Nexus which is their debugger/profiler for Visual Studio 2008 (Vista/7/2008) and includes memory checking (see the features list).

Upvotes: 4

mch
mch

Reputation: 7373

If you compile in emulation mode, you can use Valgrind itself to detect memory access problems in your kernels.

Upvotes: 3

Related Questions