Skip to content

Commit 8342b93

Browse files
fjankovipytorchmergebot
authored andcommitted
[ROCm] Prefer hipblaslt for gfx1200, gfx1201 (pytorch#153610)
Pull Request resolved: pytorch#153610 Approved by: https://github.com/jeffdaily, https://github.com/atalman
1 parent 26471fc commit 8342b93

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

aten/src/ATen/Context.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,9 @@ at::BlasBackend Context::blasPreferredBackend() {
335335
static const bool hipblaslt_preferred = []() {
336336
static const std::vector<std::string> archs = {
337337
"gfx90a", "gfx942",
338+
#if ROCM_VERSION >= 60400
339+
"gfx1200", "gfx1201",
340+
#endif
338341
#if ROCM_VERSION >= 60500
339342
"gfx950"
340343
#endif

0 commit comments

Comments
 (0)