@@ -363,9 +363,10 @@ void COPROC_NVIDIA::description(char* buf, int buflen) {
363363 safe_strcpy (cuda_vers, " unknown" );
364364 }
365365 snprintf (buf, buflen,
366- " %s (driver version %s, CUDA version %s, compute capability %d.%d, %.2fGB, %.2fGB available, %.0f GFLOPS peak)" ,
366+ " %s (driver version %s, CUDA version %s, compute capability %d.%d, %.2fGB, %.2fGB available, %s peak)" ,
367367 prop.name , vers, cuda_vers, prop.major , prop.minor ,
368- prop.totalGlobalMem /GIGA, available_ram/GIGA, peak_flops/1e9
368+ prop.totalGlobalMem /GIGA, available_ram/GIGA,
369+ flops_to_string (peak_flops).c_str ()
369370 );
370371}
371372
@@ -879,9 +880,9 @@ int COPROC_ATI::parse(XML_PARSER& xp) {
879880
880881void COPROC_ATI::description (char * buf, int buflen) {
881882 snprintf (buf, buflen,
882- " %s (CAL version %s, %.2fGB, %.2fGB available, %.0f GFLOPS peak)" ,
883+ " %s (CAL version %s, %.2fGB, %.2fGB available, %s peak)" ,
883884 name, version, attribs.localRAM /1024 .,
884- available_ram/GIGA, peak_flops/ 1 . e9
885+ available_ram/GIGA, flops_to_string ( peak_flops). c_str ()
885886 );
886887}
887888
0 commit comments