Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
CUDA error: an illegal memory access was encountered

This is the error I get when trying to use GPU for object detections.

What I have tried:

Reinstalled everything multiple times. Windows, Blue Iris, Code Project, Cuda tool kit ect.
Posted
Updated 3-Dec-22 20:00pm
Comments
Dave Kreskowiak 3-Dec-22 18:16pm    
The problem is going to be in your code, which nobody can see since you didn't post anything on it.
Jordan Reardon 3-Dec-22 18:51pm    
I apologize I am not sure where to get the code from.

1 solution

Quote:
I apologize I am not sure where to get the code from.
And we are even more in the dark!

What you have said is "it don't work" and expect people with no access at all to your system to fix it for you. We can't do that. Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.

Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

You may have no idea where to get the code from, but you are running something in order to get an error. So start there: look at what exactly you did to get the error message and make sure it is repeatable. Then start looking in detail at what is going on. Then look at the instructions you followed to get that far and check that you followed them exactly. If necessary, go back to where you got the instructions from, and ask there.

All we know or can guess is "You're using a GPU" and "there might be an AI system involved" and we can;t help you based on that!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900