Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8450947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T11:06:26+00:00 2026-06-10T11:06:26+00:00

I have CUDA host and kernel codes which were developed on a Linux system

  • 0

I have CUDA host and kernel codes which were developed on a Linux system and work there. I am porting them to a Win 7 system in order to use the Nvidia Nsight debug and analysis tools.

The codes do not run on the Win 7 system; at some point a request for a cudaMalloc or a kernel call returns an error code which translates as: cudaErrorInvalidResourceHandle. (the kernel that fails is the first of the kernel calls; setting a breakpoint at the first line of the kernel with Nsight fails to trigger — the error happens before the kernel actually gets invoked.)

The program creates a single stream and does not create any events so the only resource handle has to be the one associated with the stream but the stream handle does not appear corrupted. I have both a Fermi and a Kepler board in my system so i can check runtimes on each so I have the latest Nvidia driver loaded [9.18.13.448 (6-11-2012) – nvoglv64][304.48]. I can duplicate this problem on a second system.

Has anyone ever seen this error message before ? Any insight into what to check? Normally I would comment out great chunks of the program to isolate the guilty line but this program is wildly complex (can you say spaghetti) and the cuda calls come from all over. so before i start butchering the program I thought i would ask this community if this error has ever come up. I’m also considering that it could be a driver issue but with Nvidia forums closed down i have no access to Nvidia.

thanks for any thoughts.

JM

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T11:06:28+00:00Added an answer on June 10, 2026 at 11:06 am

    Problem seemed to be mismatch between nvidia driver and cuda version. dumbed down nvidia driver to cuda version and the problem disappeared.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a CUDA kernel which I'm compiling to a cubin file without any
I have a CUDA kernel that calls out to a series of device functions.
In a CUDA kernel, I have code similar to the following. I am trying
I am trying to run CUDA codes on my computer. I dont have a
CUDA experts, if I have defined in the host code a new type: struct
I have found weird behavior of CUDA. After I got segfault in my kernel,
We have some nightly build machines that have the cuda libraries installed, but which
I am writing a cuda kernel which requires me to allocate an array of
I have a CUDA kernel where every thread traverse a tree. Because of this
I have a CUDA program that calls the kernel repeatedly within a for loop.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.