h2oai / db-benchmark

reproducible benchmark of database-like ops
https://h2oai.github.io/db-benchmark
Mozilla Public License 2.0
326 stars 88 forks source link

add GPU info #98

Closed jangorecki closed 5 years ago

jangorecki commented 5 years ago

add gpu info and vram on the report environment details

Rscript -e 'd<-data.table::fread("nvidia--d MEMORY | grep -A 1 \"FB Memory Usage\" | grep \"Total\"", sep=" "); stopifnot(d$V4=="MiB"); cat(sprintf("%.2f GB VRAM\n", sum(d$V3)/1024))'
#21.83 GB VRAM