From 6500160fe108fd16685d19d96db87f3e50bb0b4a Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Mon, 19 Jan 2015 00:59:25 +0100 Subject: [PATCH] api: add cuda threads count --- README.txt | 8 ++++++-- api.cpp | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.txt b/README.txt index ccaa0f2..5d62cc7 100644 --- a/README.txt +++ b/README.txt @@ -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 diff --git a/api.cpp b/api.cpp index 39b7d9a..4525e55 100644 --- a/api.cpp +++ b/api.cpp @@ -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);