kunzmi / managedCuda

ManagedCUDA aims an easy integration of NVidia's CUDA in .net applications written in C#, Visual Basic or any other .net language.
Other
440 stars 79 forks source link

AccessViolationException in NPP FilterSobel* #73

Open hillin opened 5 years ago

hillin commented 5 years ago

An AccessViolationException will be thrown if you call any of the FilterSobel* methods of an NPP image instance for like 5-6 times in a row. It seems there is something wrong with the Sobel filter implementation, as if we change the filter to something else (e.g. Prewitt), everything works just fine.

I suspect this is an internal issue of NPP, but guess I'd best confirm here first.

CUDA version 10.0.130 managedCuda version 10.0.31 (from NUGET)