Geforce GTX 1050Ti

Is Geforce GTX 1050Ti cuda enabled GPU?

Yes. Every GPU made by NVIDIA in the past 10 years has been capable of running CUDA. The fact that the GTX 1050 Ti is not listed on the relevant NVIDIA page (https://developer.nvidia.com/cuda-gpus) is either an oversight, or caused by delay in getting the page updated for new GPUs. The currently shipping CUDA version 8.0 supports all GPUs with compute capability 2.0 or higher. GTX 1050 Ti has compute capability 6.1, it is a Pascal family GPU.

Thanks njuffa, i got confused since the cuda-gpus list GTX1050Ti is not there.

I use the Geforce TITAN Xp. I install the cuda kit 8.0 (also try the cuda kit 9.0). After compiling the files, I run the exe with the following errors:
The accelerator does not match the profile for which this program was complied.
Anyone can give me a help?

I could be wrong, but this does not look like an error message issued by a CUDA component. You may want to track down the software component that issues this message, and configure it consistent with the architecture of the Titan Xp, which is compute capability 6.1.