Roshan
Roshan

Reputation: 568

Cuda iterative program stopping unusually. Runs only when PC is restarted Each time

I have a iterative cuda program which iterates new values as required. It is a confidential code so I cant share, but I want to discuss the problem.

The iterative program runs properly on my PC when I work with less data. I have proper allocation and deallocation codes.

No matter how many times I run the program it runs properly with less data.

But in case of huge data, It runs properly one time but not multiple times providing an error "****.exe has stopped working.....". Same error persists until I restart the PC...each time. It is not feasible to restart the PC each time for me to start the program. So What might be the reason behind it?

Upvotes: 0

Views: 64

Answers (1)

inJeans
inJeans

Reputation: 199

Most likely a memory error.

You should try running cuda-memcheck, this will make obvious any memory errors.

Other options include using error handling within your code, this would catch the problems as they arise.

Upvotes: 1

Related Questions