1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-27 15:04:22 +00:00

nvml warning fix and disable scrypt gpu test

This commit is contained in:
Tanguy Pruvot 2015-05-29 15:39:41 +02:00
parent c2f319fa86
commit 98f2f8c745
2 changed files with 4 additions and 3 deletions

View File

@ -363,6 +363,7 @@ int nvml_reset_clocks(nvml_handle *nvmlh, int dev_id)
return -1;
}
gpu_clocks_changed[dev_id] = 0;
return 1;
}
int nvml_get_gpucount(nvml_handle *nvmlh, int *gpucount)

View File

@ -1770,9 +1770,9 @@ void do_gpu_tests(void)
//memcpy(buf, zrtest, 80);
//scanhash_zr5(0, (uint32_t*)buf, tgt, zrtest[19]+1, &done);
struct timeval tv;
memset(buf, 0, sizeof buf);
scanhash_scrypt_jane(0, (uint32_t*)buf, tgt, NULL, 1, &done, &tv, &tv);
//struct timeval tv;
//memset(buf, 0, sizeof buf);
//scanhash_scrypt_jane(0, (uint32_t*)buf, tgt, NULL, 1, &done, &tv, &tv);
memset(buf, 0, sizeof buf);
scanhash_x11(0, (uint32_t*)buf, tgt, 1, &done);