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

  • Home
  • SEARCH
  • 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 4617072
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:04:23+00:00 2026-05-22T02:04:23+00:00

What does this error mean? I can’t seem to find ANY information on it.

  • 0

What does this error mean? I can’t seem to find ANY information on it. It occurs on a cudaEventRecord.

in the project header file:

cudaEvent_t cudaEventStart;

in a .c file:

cudaEventCreate(&cudaEventStart);
printf("create event: %d\n", (int) cudaEventStart);

in my one .cu file:

printf("record event: %d\n", (int) cudaEventStart);
cudaEventRecord(cudaEventStart);

the relevant output shows what the problem with the call is. cudaEventStart isn’t a valid event resource in my cu file for some reason:

create event: 44199920
record event: 0

Details

  • CUDA 3.2
  • GTX 480
  • 64-bit Win7

I’m in the process of porting my code from linux to windows. It runs fine on the same card in linux, and there have been only a few changes. I defined roundf and added the following:

typedef size_t off_t;
#define strtof(str,n) (float)strtod(str,n)
#include <float.h>
#define isnan(n) _isnan(n)
#define strcasecmp _stricmp
#include <io.h>
#define read _read

It isn’t clear to me why any of these things should affect cuda resources. Perhaps I’m building the project incorrectly somehow…?

  • 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-05-22T02:04:24+00:00Added an answer on May 22, 2026 at 2:04 am

    An invalid resource handle usually means trying to use something (pointer, symbol, texture, kernel) in a context where it was not created. A more specific answer will require a more specific question, particularly which API you are using and how/if you are using host threads anywhere in the code.

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

Sidebar

Related Questions

What does this error mean, and why does it apply? I can't find much
What does this mean and why am I getting this error. Any suggestions on
[Accessibility] Missing contentDescription attribute on image What does this error mean and how can
can somebody explain me what does this error mean: > ./rank lines.in 'nknown option:
what does this error mean ? I am trying to insert dates to SQLite
Does anyone know what these error's mean? I get this when I click a
All are from this post . What does these statement mean: error(nargchk(5, 6, nargin));
can someone please help me. why does this return an error: Dim stuff As
What does this error mean, I don't recognize it? me@michael-laptop:~/3$ rails new zzz -dmysql
If a run-time error occur in a VB6 app, does this mean Error handling

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.