New Techniques for On-line Testing and Fault Mitigation in GPUs