CUDA code does not run in the Windows Service

I’m trying to run CUDA code in a Windows Service.
However, CUDA code can not be running in a Windows Service.
Do you know a solution to someone.

See if this gives some insight:

See also:

Google keywords: cuda code windows service

Dear vacaloca,
Thanks for the confirmation.

I understand that you can not access to the display driver from Session 0 of Windows Service.
Therefore, CUDA I simply do not work in Windows Service.
I avoided by starting the CUDA code Session 1 from Session 0.

Thanks again