################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# compiler/plugins/target/ROCM/builtins/specialization/BUILD.bazel             #
#                                                                              #
# Use iree_cmake_extra_content from iree/build_defs.oss.bzl to add arbitrary   #
# CMake-only content.                                                          #
#                                                                              #
# To disable autogeneration for this file entirely, delete this header.        #
################################################################################

iree_add_all_subdirs()

if(NOT IREE_TARGET_BACKEND_ROCM)
  return()
endif()

iree_c_embed_data(
  NAME
    iree_specialization_patterns_amdgpu
  SRCS
    "specialization_patterns_gfx942.mlir"
    "specialization_patterns_gfx950.mlir"
  C_FILE_OUTPUT
    "iree_specialization_patterns_amdgpu.c"
  H_FILE_OUTPUT
    "iree_specialization_patterns_amdgpu.h"
  FLATTEN
  PUBLIC
)

iree_lit_test_suite(
  NAME
    verify_specialization_patterns_amdgpu
  SRCS
    "specialization_patterns_gfx942.mlir"
    "specialization_patterns_gfx950.mlir"
  TOOLS
    iree-opt
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
