NPP sample 【jpegNPP】 compress pic error

I use sample jpegNPP code in NPP sample to compress some jpeg pictures, some can process well,but some pictures the scan data are broken after compress.
in some times, nppiEncodeHuffmanScan_JPEG_8u16s_P3R throw NPP_CUDA_KERNEL_EXECUTION_ERROR

how can i fix this problem? thanks very much!

cause scan data error picture:
[url]http://test-1252389925.cosgz.myqcloud.com/sd_youtu.jpg[/url]

cause NPP_CUDA_KERNEL_EXECUTION_ERROR error picture:
[url]http://test-1252389925.cosgz.myqcloud.com/no_exif_img_2666.jpg[/url]

my platform:
cuda 7.5
nvidia Tesla K80 * 4
CPU:E5-2650 V3, 39 cores
memory:128G