Browse Source

api: add cuda threads count

2upstream
Tanguy Pruvot 10 years ago
parent
commit
6500160fe1
  1. 8
      README.txt
  2. 4
      api.cpp

8
README.txt

@ -1,5 +1,5 @@ @@ -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.. @@ -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

4
api.cpp

@ -146,10 +146,10 @@ static void gpustatus(int thr_id) @@ -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);

Loading…
Cancel
Save