Error from cudaMemset()

problem is nppiCopy_32f_C3P3R() causes undefined behavior