Allow runtime switching between CPU and GPU.
Merge branch 'master' of https://github.com/yoos/goflo