work on gpu clocks and gpu turbo example

This commit is contained in:
Carl Pearson
2019-09-19 16:56:57 -05:00
parent 81cc7feafd
commit 13e6c8e03d
12 changed files with 194 additions and 136 deletions

View File

@@ -1,5 +1,18 @@
#include <iostream>
#include "perfect/gpu_clocks.hpp"
#include "perfect/init.hpp"
int main(void) {
using namespace perfect;
init();
for (unsigned int gpu = 0; gpu < 1; ++gpu) {
PERFECT(perfect::set_max_gpu_clocks(gpu));
PERFECT(perfect::reset_gpu_clocks(gpu));
}
return 0;
}