# Copyright (c) Advanced Micro Devices, Inc., or its affiliates.
# SPDX-License-Identifier: MIT

# Currently ck_tile is only built on gfx9
if(GPU_TARGETS MATCHES "gfx9|gfx11|gfx12")
    add_gtest_executable(test_ck_tile_grouped_conv_bwd_weight test_ck_tile_grouped_conv_bwd_weight.cpp)
endif()

# StreamK requires cross-CU coherence via StreamKCoherency, which only has
# specializations for CDNA architectures (gfx90a/gfx942/gfx950).
if(GPU_TARGETS MATCHES "gfx90a|gfx942|gfx950")
    add_gtest_executable(test_ck_tile_grouped_conv_bwd_weight_streamk test_ck_tile_grouped_conv_bwd_weight_streamk.cpp)
endif()
