cuda checkcandidate