ROCm: Add trailing comma for consistency in gfx architecture list (#150250)

Adding trailing comma for consistency.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/150250
Approved by: https://github.com/petrex, https://github.com/jeffdaily, https://github.com/cyyever
This commit is contained in:
Jagadish Krishnamoorthy 2025-04-03 10:58:45 +00:00 committed by PyTorch MergeBot
parent e6e07ec1cf
commit 6fa1b17195
2 changed files with 3 additions and 3 deletions

View File

@ -359,7 +359,7 @@ at::BlasBackend Context::blasPreferredBackend() {
static const std::vector<std::string> archs = {
"gfx90a", "gfx942",
#if ROCM_VERSION >= 60300
"gfx1100", "gfx1101", "gfx1200", "gfx1201"
"gfx1100", "gfx1101", "gfx1200", "gfx1201",
#endif
#if ROCM_VERSION >= 60500
"gfx950"

View File

@ -268,7 +268,7 @@ static bool isSupportedHipLtROCmArch(int index) {
static const std::vector<std::string> archs = {
"gfx90a", "gfx942",
#if ROCM_VERSION >= 60300
"gfx1100", "gfx1101", "gfx1200", "gfx1201"
"gfx1100", "gfx1101", "gfx1200", "gfx1201",
#endif
#if ROCM_VERSION >= 60500
"gfx950"
@ -935,7 +935,7 @@ static bool _scaled_mm_allowed_device() {
static const std::vector<std::string> archs = {
"gfx942",
#if ROCM_VERSION >= 60300
"gfx1200", "gfx1201"
"gfx1200", "gfx1201",
#endif
#if ROCM_VERSION >= 60500
"gfx950"