Thank you @rasbt for your reply. It works now with CUDA 9. Honestly, I am not sure about what fixed the issue, I just postponed the test with CUDA 8 for few days but it was no more necessary afterwards: I could use my GPU without problems.