UCBerkeleySETI / rawspec

6 stars 7 forks source link

rawspectest requires external program (nvidia-smi) to see gpu memory utilisation #28

Closed texadactyl closed 3 years ago

texadactyl commented 3 years ago

rawspectest uses one GPU: 0. Instead of sleeping 10 seconds and quickly alt-tabbing to another terminal to run nvidia-smi, I have modified rawspectest.c and Makefile to use the CUDA API to fetch the information and printf it.