try ccminer 2.2.1 by tpruvot, for me it works on gtx 1060 (I use windows)
https://github.com/tpruvot/ccminer/releases
same error happens
Built with the nVidia CUDA Toolkit 8.0 64-bits
Originally based on Christian Buchner and Christian H. project
Include some algos from alexis78, djm34, sp, tsiv and klausT.
BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo (tpruvot)
[2017-09-23 03:51:58] POOL 0: asia.lyra2z-hub.miningpoolhub.com:20581
[2017-09-23 03:51:58] Starting on stratum+tcp://asia.lyra2z-hub.miningpoolhub.com:20581
[2017-09-23 03:51:58] restart_threads
[2017-09-23 03:51:58] CUDA GPU 0 matches NVML GPU 0 by busId 6
[2017-09-23 03:51:58] NVML GPU monitoring enabled.
[2017-09-23 03:51:58] 1 miner thread started, using 'lyra2z' algorithm.
[2017-09-23 03:51:59] sleeptime: 500 ms
[2017-09-23 03:52:00] GPU #0: no data
[2017-09-23 03:52:00] sleeptime: 500 ms
[2017-09-23 03:52:01] GPU #0: no data
[2017-09-23 03:52:02] sleeptime: 500 ms
[2017-09-23 03:52:03] GPU #0: no data
[2017-09-23 03:52:03] sleeptime: 500 ms
[2017-09-23 03:52:04] Stratum session id: deadbeefcafebabe6546700100000000
[2017-09-23 03:52:04] GPU #0: no data
[2017-09-23 03:52:05] sleeptime: 500 ms
[2017-09-23 03:52:05] DEBUG: job_id=9c577d1 ab45 xnonce2=00000000 time=03:51:29
[2017-09-23 03:52:05] Stratum difficulty set to 10 (0.03906)
[2017-09-23 03:52:05] job 9c577d1 ab45 target change: 1999800000 (0.0)
[2017-09-23 03:52:05] GPU #0: start=00000000 end=0007ffff range=0007ffff
[2017-09-23 03:52:05] GPU #0: Intensity set to 15, 32768 cuda threads
[2017-09-23 03:52:05] GPU #0: Quadro 2000, 8755.19 kH/s
[2017-09-23 03:52:05] GPU #0: start=00080000 end=1f579d6c range=1f4f9d6c
[2017-09-23 03:52:05] GPU #0: invalid device function
[2017-09-23 03:52:05] GPU #0: start=1f579d6d end=ffffffff range=e0a86292
[2017-09-23 03:52:05] GPU #0: invalid device function
I found that using tpruvot release ccminer works when using scrypt and cryptopnight algorithm