Re-enable CUDA tests for C++ API (#20238)
Summary:
CUDA tests for C++ API were not running on the CI due to a missing character in https://github.com/pytorch/pytorch/pull/11554. This PR fixes the bug.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20238
Differential Revision: D15279945
Pulled By: yf225
fbshipit-source-id: 1fa7439cd40b6f2fba6792eb790bacf0d67d0054