mirror of
https://github.com/GOSTSec/ccminer
synced 2025-09-12 14:12:08 +00:00
nvml warning fix and disable scrypt gpu test
This commit is contained in:
parent
c2f319fa86
commit
98f2f8c745
1
nvml.cpp
1
nvml.cpp
@ -363,6 +363,7 @@ int nvml_reset_clocks(nvml_handle *nvmlh, int dev_id)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
gpu_clocks_changed[dev_id] = 0;
|
gpu_clocks_changed[dev_id] = 0;
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int nvml_get_gpucount(nvml_handle *nvmlh, int *gpucount)
|
int nvml_get_gpucount(nvml_handle *nvmlh, int *gpucount)
|
||||||
|
6
util.cpp
6
util.cpp
@ -1770,9 +1770,9 @@ void do_gpu_tests(void)
|
|||||||
//memcpy(buf, zrtest, 80);
|
//memcpy(buf, zrtest, 80);
|
||||||
//scanhash_zr5(0, (uint32_t*)buf, tgt, zrtest[19]+1, &done);
|
//scanhash_zr5(0, (uint32_t*)buf, tgt, zrtest[19]+1, &done);
|
||||||
|
|
||||||
struct timeval tv;
|
//struct timeval tv;
|
||||||
memset(buf, 0, sizeof buf);
|
//memset(buf, 0, sizeof buf);
|
||||||
scanhash_scrypt_jane(0, (uint32_t*)buf, tgt, NULL, 1, &done, &tv, &tv);
|
//scanhash_scrypt_jane(0, (uint32_t*)buf, tgt, NULL, 1, &done, &tv, &tv);
|
||||||
|
|
||||||
memset(buf, 0, sizeof buf);
|
memset(buf, 0, sizeof buf);
|
||||||
scanhash_x11(0, (uint32_t*)buf, tgt, 1, &done);
|
scanhash_x11(0, (uint32_t*)buf, tgt, 1, &done);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user