do not build gemm-gemm and conv-conv examples for gfx94* (#761)

* do not build gemm-gemm and conv-conv examples for gfx94*

* do not build gemm-gemm and conv-conv examples on navi
This commit is contained in:
Illia Silin
2023-06-19 16:55:03 -07:00
committed by GitHub
parent f0c620c42e
commit 645eb2f2a0
2 changed files with 4 additions and 12 deletions

View File

@@ -14,10 +14,6 @@ foreach(gpu IN LISTS GPU_TARGETS)
endif()
endforeach()
set(target 0)
foreach(gpu IN LISTS GPU_TARGETS)
if(gpu IN_LIST gpu_list2 AND target EQUAL 0)
if(NOT GPU_TARGETS MATCHES "gfx94" AND NOT GPU_TARGETS MATCHES "gfx1")
add_example_executable(example_batched_gemm_gemm_xdl_int8 batched_gemm_gemm_xdl_int8.cpp)
set(target 1)
endif()
endforeach()
endif()