Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 4
    You could start by adding some error checking. Every one of those API calls returns a status. You should check every one of them to see what error is being reported and where it is occurring. Commented Mar 1, 2012 at 15:57
  • Also, you did run the SDK sample code, right? Linux or Windows? Do the SDK samples compile and work? All of them? Commented Mar 1, 2012 at 16:30
  • I tried putting APIs to identify runtime error but it is showing no CUDA-capable device is detected in simple_device_call.cu at line 30...i'm using linux and SDL sample code is also not working Commented Mar 1, 2012 at 17:24
  • 4
    @user997704: So you have a non-working CUDA installation. Fix that before you worry about this code. Commented Mar 1, 2012 at 19:25