################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# compiler/plugins/target/LLVMCPU/builtins/ukernel/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_LLVM_CPU)
  return()
endif()

iree_bitcode_library(
  NAME
    iree_uk_mma_x86_avx512bf16_1x16x2_f32_bf16_x86_64_avx512bf16
  ARCH
    x86_64
  OUT
    "iree_uk_mma_x86_avx512bf16_1x16x2_f32_bf16.x86_64_avx512bf16.bc"
  INTERNAL_HDRS
    "common.h"
  SRCS
    "iree_uk_mma_x86_avx512bf16_1x16x2_f32_bf16.c"
  COPTS
    "-mavx512f"
    "-mavx512bf16"
)

iree_bitcode_library(
  NAME
    iree_uk_mma_x86_avx512vnni_16x16x2_i32_i8_casti16_x86_64_avx512vnni
  ARCH
    x86_64
  OUT
    "iree_uk_mma_x86_avx512vnni_16x16x2_i32_i8_casti16.x86_64_avx512vnni.bc"
  INTERNAL_HDRS
    "common.h"
  SRCS
    "iree_uk_mma_x86_avx512vnni_16x16x2_i32_i8_casti16.c"
  COPTS
    "-mavx512f"
    "-mavx512bw"
    "-mavx512vnni"
)

iree_c_embed_data(
  NAME
    iree_uk_cpu_bitcode
  SRCS
    "iree_uk_mma_x86_avx512bf16_1x16x2_f32_bf16.x86_64_avx512bf16.bc"
    "iree_uk_mma_x86_avx512vnni_16x16x2_i32_i8_casti16.x86_64_avx512vnni.bc"
  C_FILE_OUTPUT
    "iree_uk_cpu_bitcode.c"
  H_FILE_OUTPUT
    "iree_uk_cpu_bitcode.h"
  FLATTEN
  PUBLIC
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
