RPC API additions and compiler warning fixes

 - Add per GPU WU and WUE to RPC API output
 - Fix compiler warnings visible in Linux