cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

mux85
Journeyman III

problem probably related to buffer size

I have a very odd problem that I'm not sure i can explaining clearly, anyway i'll try.

I'm using openCL in a program that does some elaboration on a video. in particular i am using this C# wrapper:

https://sourceforge.net/projects/cloo/

in this program i have a kernel that is executed once for every frame. after the elaboration of some frames (100-200) i get an error. the error is different almost every time i run the program (invalid context, nullReferenceException, AccessViolationException and most frequently FatalExecutionEngineError).

I think there might be some memory corruption issue considering this random behaviour. Here comes the strange part: the problem appears only when the resolution of the video is under a certain value (110000-115000 pixels). the only thing related to video resolution is the size of the buffers that i use.

what should i try to resolve this problem? let me know if you need any other information. thanks

 

0 Likes
1 Reply
mux85
Journeyman III

I tried reinstalling Visual studio and .net framework but that didn't resolve

0 Likes