1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-22 12:34:17 +00:00

api: add cuda threads count

This commit is contained in:
Tanguy Pruvot 2015-01-19 00:59:25 +01:00
parent b521acb480
commit 6500160fe1
2 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,5 @@
ccMiner release 1.5.1-tpruvot (16 Dec 2014) - "Vertcoin Lyra2"
ccMiner release 1.5.2-tpruvot (Jan 2015) - "Happy new Year!"
---------------------------------------------------------------
***************************************************************
@ -167,13 +167,17 @@ I plan to add a json format later, if requests are formatted in json too..
>>> Additional Notes <<<
This code should be running on nVidia GPUs ranging from compute capability
3.0 up to compute capability 3.5. Support for Compute 2.0 has been dropped
3.0 up to compute capability 5.2. Support for Compute 2.0 has been dropped
so we can more efficiently implement new algorithms using the latest hardware
features.
>>> RELEASE HISTORY <<<
Jan. 2015 v1.5.2
Intelligent duplicate shares check feature (enabled if needed)
api: Fan RPM (windows), Cuda threads count, linux kernel ver.
More X11 optimisations from sp and KlausT
SM 3.0 enhancements
Dec. 16th 2014 v1.5.1
Add lyra2RE algo for Vertcoin based on djm34/vtc code

View File

@ -146,10 +146,10 @@ static void gpustatus(int thr_id)
card = device_name[gpuid];
snprintf(buf, sizeof(buf), "GPU=%d;BUS=%hd;CARD=%s;"
"TEMP=%.1f;FAN=%hu;RPM=%hu;FREQ=%d;KHS=%.2f;HWF=%d;I=%d|",
"TEMP=%.1f;FAN=%hu;RPM=%hu;FREQ=%d;KHS=%.2f;HWF=%d;I=%d|THR=%u",
gpuid, cgpu->gpu_bus, card, cgpu->gpu_temp, cgpu->gpu_fan,
cgpu->gpu_fan_rpm, cgpu->gpu_clock, cgpu->khashes,
cgpu->hw_errors, cgpu->intensity);
cgpu->hw_errors, cgpu->intensity, opt_work_size);
// append to buffer for multi gpus
strcat(buffer, buf);