I more or less randomly faced the following error:
Cuda error in func 'quark_blake512_cpu_setBlock_80' at line 701 : unspecified launch failure.
After some Google'ing there are some people stating that this has something todo with over or underclocking the GPU's.
My 1080Rig is overclocked so I build myself the following systemd file to enable the watchdog function which in case restarts the xevan-ccminer:
[Unit]
Description=CCMiner
After=syslog.target network.target
StartLimitBurst=10
StartLimitIntervalSec=120
[Service]
Type=simple
ExecStart=/usr/bin/screen -S ccminer -L -Logfile /home/miner/ccminer.log -Dm /home/miner/ccminer-xevan/ccminer -a xevan -o [STRATUM_URL] -u [USERNAME] -p x --api-remote -q --no-color --api-bind=192.168.178.10:4068
ExecStop=/usr/bin/killall ccminer
User=miner
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target
This can possibly help someone ...