fix:bf16x3:enable all instances on gfx950 (#3248)

* fix:bf16x3:enable all instances on gfx950

* fix clang-format fail

* fix clang-format fail

* fix:modified wrong params previously
This commit is contained in:
yinglu
2025-11-21 09:09:43 +08:00
committed by GitHub
parent 938b8ed3bf
commit 4155eb24f9
3 changed files with 25 additions and 14 deletions

View File

@@ -94,8 +94,8 @@ function(add_instance_library INSTANCE_NAME)
message(DEBUG "removing gemm_universal_preshuffle_f8 instance ${source} ")
list(REMOVE_ITEM ARGN "${source}")
endif()
# Only build tf32 instances for gfx942
if(NOT INST_TARGETS MATCHES "gfx942" AND source_name MATCHES "_tf32_")
# Only build tf32 instances for gfx942 & gfx950
if(NOT (INST_TARGETS MATCHES "gfx942" OR INST_TARGETS MATCHES "gfx950") AND source_name MATCHES "_tf32_")
message(DEBUG "removing tf32 instance ${source} ")
list(REMOVE_ITEM ARGN "${source}")
endif()