System shut down while running CUDA using "NVIDIA GFORCE GTX970"

I am using “NVIDIA GFORCE GTX970” graphics ,While running my CUDA projects(OpenCV+CUDA),suddenly the system shutdown, but the sample CUDA projects works fine.I have another sytem with GTX640 ,the same CUDA project works fine in that system.Both the system using same CUDA driver(version 7.5) and driver(Version: 370.28) ,I also tried remove and reinstall the drivers ,but still the issue exist.

Can anyone suggest any idea to solve this issue?