Skip to content

Commit

Permalink
These examples should not build when gfx1 in mixed in multi-targets
Browse files Browse the repository at this point in the history
  • Loading branch information
junliume committed Jul 3, 2024
1 parent b5b429e commit 508b42a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client_example/25_wrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ add_executable(client_tensor_transform_using_wrapper tensor_transform_using_wrap
target_link_libraries(client_tensor_transform_using_wrapper PRIVATE composable_kernel::device_other_operations)
add_executable(client_wrapper_img2col wrapper_img2col.cpp)
target_link_libraries(client_wrapper_img2col PRIVATE composable_kernel::device_other_operations)
if(GPU_TARGETS MATCHES "gfx9")
if((GPU_TARGETS MATCHES "gfx9") AND (NOT GPU_TARGETS MATCHES "gfx1"))
add_executable(client_wrapper_basic_gemm wrapper_basic_gemm.cpp)
target_link_libraries(client_wrapper_basic_gemm PRIVATE composable_kernel::device_other_operations)
add_executable(client_wrapper_optimized_gemm wrapper_optimized_gemm.cpp)
Expand Down

0 comments on commit 508b42a

Please sign in to comment.