copy over lcuda fix, add user options (#1527)
Summary:
1. Avoid lcuda issues
2. Add a way so that our test workflows can be tweaked
Pull Request resolved: https://github.com/pytorch/benchmark/pull/1527
Test Plan: https://github.com/pytorch/benchmark/actions/runs/4623471153 the regressions part print the right things!
Reviewed By: xuzhao9
Differential Revision: D44731458
Pulled By: janeyx99
fbshipit-source-id: 26618c88dae681d36e514a8a7c71767387cf5b68