A modification that would let program can automatically decide whether or not should set 'p.use_gpu' to 'true'.