Our process runs fine without any errors using nppiFilterSobelHoriz_8u16s_C1R and nppiFilterSobelVert_8u16s_C1R.
However if we call cudaDeviceReset to change the specific GPU or turn GPU processing on or off, when we reinitialze the GPU with cudaSetDevice it fails with NPP_CUDA_KERNEL_EXECUTION_ERROR (-1000) even though other kernels that we wrote by hand or other NPP functions will still launch.
Does NPP keep some type of state that needs to be reset?
Thanks!