We need to create tool for automatic GPU tuning (overclock).
Software will change some GPU parameters like undervoltage, Core Frequency and so on, monitor GPU health. Basing on gathered info, it will tune further to maintain maximal stability with maximal performance.
You may use MSI Afterbutner for it, or work with GPU directly.
Please tell if you have nvidia card to perform this task.