cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

spectral
Adept II

Memory leak ?

Hi,

When I execute my kernel code... I got a violent crash of the application. So, I suppose I have a memory leak...

The problem is that it is a 'complex' algorithm and I have a lot of data (100000 by example)... so it is very difficult to find where is the problem.

Even with a debugger it will not be easy to find !

So, I would like to know if you have any idea on how I can debug this memory leak problem (If it is a memory leak problem in my code of course).

Thanks for your help

0 Likes
2 Replies
Sheeep
Journeyman III

You can build the algorithm in c. a working c algorithm should work in ocl, too.

0 Likes
genaganna
Journeyman III

Originally posted by: viewon01 Hi,

 

When I execute my kernel code... I got a violent crash of the application. So, I suppose I have a memory leak...

 

The problem is that it is a 'complex' algorithm and I have a lot of data (100000 by example)... so it is very difficult to find where is the problem.

 

Even with a debugger it will not be easy to find !

 

So, I would like to know if you have any idea on how I can debug this memory leak problem (If it is a memory leak problem in my code of course).

 

Thanks for your help

 

Viewon01,

               It is better to use memory leak tools to find memory leak.

0 Likes